massdriver-cli

command module
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 15, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

README

Massdriver CLI

A command line interface for managing Massdriver bundles and applications.

Precommit

This repo uses precommit. Don't skip this step.

  1. Install precommmit on your system.
  2. Run pre-commit install to run hooks on git 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/cmds

Documentation

Overview

Copyright © 2022 NAME HERE <EMAIL ADDRESS>

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL