Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@kandros
Copy link
Contributor

@kandros kandros commented Nov 13, 2025

If the plan is to move to Effect #3 , this should be good enough as a temporary solution witout investing in code generation (with Effect will be autogenerated based on the arguments registered)

src/index.tsx Outdated
console.error("Config not found, please run `cftop init`");
process.exit(1);
}
if (values.help || positionals.length == 2) {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this would move us to showing help when someone just runs cftop I'd prefer us to have:

  • cftop runs the program
  • cftop help prints help output
  • cftop -h or cftop --help prints help output

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated, needed to extract start command to call it in both cases

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants