cprl

command module
v0.0.0-prealpha-202304... Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2023 License: MIT Imports: 5 Imported by: 0

README

[WARNING] In Early Development

cprl

How to Install

Homebrew
$ brew tap JamesChung/tap
$ brew install JamesChung/tap/cprl
Go
$ go install github.com/JamesChung/cprl@latest
Make

This will build and install the binary to your ~/.local/bin. Make sure you have that in your PATH.

$ make local

Commands

Documentation link

Config File

cprl will first search for a cprl.yaml file in the current working directory. If not found it will search in the user's home .config/ directory as .config/cprl/cprl.yaml. If neither is found cprl will prompt you if you'd like it to create a cprl.yaml file for you with a template. You will still need to provide it your preferred values after creation.

Schema
default:                            # cprl will always default to this profile
  config:                           # profile wide configs
    aws-profile: <profile name>     # this aws profile will be used by default for commands
  services:                         # individual service level configurations
    codecommit:                     # name of a supported service
      repositories:                 # service specific configurations
        - <repo name>
        - <repo name>
        - <repo name>
<custom profile>:
  config:
    aws-profile: <profile name>
  services:
    codecommit:
      repositories:
        - <repo name>
        - <repo name>
        - <repo name>
Example
default:
  config:
    aws-profile: default
  services:
    codecommit:
      repositories:
        - example-repo
        - other-example-repo
secondary:
  config:
    aws-profile: dev
  services:
    codecommit:
      repositories:
        - dev-example-repo

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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