Flux modules are nearly API complete. We need to a way for users to publish and interact with modules on release day and the CLI is the best option. To keep implementation simple we want to start with the following verbs:
influx module list should list all modules and their latest version
Publish
influx module publish should take a directory and build the Flux code within the directory and then upload the directory if the build succeeds. We need to define precisely what build means, but it will likely be compiling all the code to semantic graph and ensuring no errors.
Download
influx module download should download a zip file of a specific module and a specific version. Support for @latest and @pre should be included.
Versions
influx module versions should list all versions for a given module
Flux modules are nearly API complete. We need to a way for users to publish and interact with modules on release day and the CLI is the best option. To keep implementation simple we want to start with the following verbs:
List
influx module list
should list all modules and their latest versionPublish
influx module publish
should take a directory and build the Flux code within the directory and then upload the directory if the build succeeds. We need to define precisely what build means, but it will likely be compiling all the code to semantic graph and ensuring no errors.Download
influx module download
should download a zip file of a specific module and a specific version. Support for@latest
and@pre
should be included.Versions
influx module versions
should list all versions for a given module