Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

One executable for all CLI commands by using Cobra #75

Open
2 of 3 tasks
consolethinks opened this issue May 31, 2024 · 0 comments · Fixed by #79
Open
2 of 3 tasks

One executable for all CLI commands by using Cobra #75

consolethinks opened this issue May 31, 2024 · 0 comments · Fixed by #79
Assignees
Milestone

Comments

@consolethinks
Copy link
Collaborator

consolethinks commented May 31, 2024

Proposal for a single executable based Scicat CLI tool

I would like to create a PR for a code rewrite that would put all of the separate executables defined in cmd/ into one, where each component would get their own subcommand.

This would basically mean: Instead of calling the command this way:

./[command_name] (flags) (params)

We'd have the following convention:

./scicat-cli [command_name] (flags) (params)

This would be achieved through the Cobra library.

As an example of this concept, here's my globus library with a built-in cli implementation.

@sbliven sbliven added this to the v3 milestone Jun 24, 2024
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 a pull request may close this issue.

2 participants