slackdump icon indicating copy to clipboard operation
slackdump copied to clipboard

Switch to commands instead of flags

Open rusq opened this issue 1 year ago • 0 comments

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 avatar Sep 01 '22 09:09 rusq