I know... not a fun sounding issue. But hear me out...
The problem
There are a lot of commands. If we create additional configuration, tag, and search operations there will be more. It is confusing.
Proposed solution
Group related commands into subcommands. I propose the following top-level groups:
top-level commands
datafs configure # set up/manage config files, managers, and services
datafs tags # register and manage tags for the manager
datafs archive # create, update, download, delete, etc... archives
datafs search # the distinction between search and filter is confusing.
# maybe we should combine them?
configure commands
Long-term, we could have a couple configure commands:
datafs configure profile # add profiles, edit config.yml directly, copy profiles, etc
datafs configure service # configure a service for a given profile
datafs configure manager # configure a manager for a given profile
tags commands
Tools for managing the tag registry system, if we implement this
datafs tags list # list registered tags
datafs tags search # search for registered tags (interactively?)
datafs tags create # register a tag
datafs tags delete # delete a registered tag
archive commands
This still seems kinda nasty. Any way we could clean this up?
datafs archive create
datafs archive update
datafs archive download
datafs archive delete
datafs archive add_tags
datafs archive delete_tags
datafs archive get_tags
datafs archive metadata
datafs archive update_metadata
datafs archive set_dependencies
datafs archive get_version
search commands
datafs search --pattern --pattern-style --tags --prefix # all can be used together!
I know... not a fun sounding issue. But hear me out...
The problem
There are a lot of commands. If we create additional configuration, tag, and search operations there will be more. It is confusing.
Proposed solution
Group related commands into subcommands. I propose the following top-level groups:
top-level commands
configure commands
Long-term, we could have a couple configure commands:
tags commands
Tools for managing the tag registry system, if we implement this
archive commands
This still seems kinda nasty. Any way we could clean this up?
search commands
datafs search --pattern --pattern-style --tags --prefix # all can be used together!