influxdata / influxdata/influx-cli

Add CRUD support for Flux modules

Open
#458 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
75
Forks
22
PR merge metrics
No merged PRs in 30d

Description

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
influx module publish
influx module download 
influx module versions 
List

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by mapping the CLI entry points for module list, publish, download, and versions. Clarify what publishing builds, how module and version arguments work, and how @latest and @pre resolve; done means all four commands meet those behaviors and publish only uploads after a successful build.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.