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

Switch to commands instead of flags #129

Open
rusq opened this issue Sep 1, 2022 · 0 comments
Open

Switch to commands instead of flags #129

rusq opened this issue Sep 1, 2022 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@rusq
Copy link
Owner

rusq commented Sep 1, 2022

There's a repelling amount of command line flags right now, it would make sense to implement the major modes, such as:

  • export
  • list
  • dump (standard)
  • etc.

As separate commands.

For example, current invocation for export is:

slackdump -export foo.zip -export-type mattermost -download

would be

slackdump export -type mattermost -download foo.zip 

Alternatively, as suggested in #121 could you the https://github.com/spf13/cobra library

@rusq rusq added the enhancement New feature or request label Sep 2, 2022
@rusq rusq added this to the v2.3.0 milestone Oct 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant