README
¶
Massdriver CLI
A command line interface for managing Massdriver bundles and applications.
Precommit
This repo uses precommit. Don't skip this step.
- Install precommmit on your system.
- Run
pre-commit install
to run hooks ongit commit
Developing a bundle
Creating a new bundle
Generate a new bundle:
mass bundle generate -o ./my-bundle
Params & Connections
TBD
Building a bundle
Next you'll need to build your bundle. This will convert your params and connections into terraform variables for local development. This is also run during CI/CD to publish your bundle to Massdriver.
mass bundle build
Active Refactoring
./cmd
- Cobra commands; args / flags parsing, calls to domain commands (./pkg/cmd
)./pkg/cmd
- high level testable commands; leave out cobra specifics./pkg/api2
- GraphQL queries/mutations written w/ Genqclient (actively migrating)./pkg/views
- Bubbletea interfaces used by applicable./pkg/cmd
s
Directories
¶
Path | Synopsis |
---|---|
pkg
|
|
api2
Massdriver GraphQL API queries/mutations using Genqlient
|
Massdriver GraphQL API queries/mutations using Genqlient |
views/artifacts_table
TODO: refactor w/ credential_types to make a bubble tea module for table selection with input testing https://github.com/charmbracelet/bubbles/blob/master/textarea/textarea_test.go#L445
|
TODO: refactor w/ credential_types to make a bubble tea module for table selection with input testing https://github.com/charmbracelet/bubbles/blob/master/textarea/textarea_test.go#L445 |
Click to show internal directories.
Click to hide internal directories.