astro-cli

command module
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

README

Astronomer CLI

The Astronomer CLI is the recommended way to get started developing and deploying on Astronomer Enterprise Edition.

Setup

  1. Install Go:

    $ brew install go
    

    More info: https://golang.org/doc/install

  2. Set GOPATH (recommended: ~/go) in .bash_profile or .bashrc:

    export GOPATH=$HOME/go
    export GOBIN=$HOME/go/bin
    export PATH=$PATH:$GOBIN
    

    More info: https://github.com/golang/go/wiki/SettingGOPATH

Quickstart

How to get started as a user.

  1. Install Astro CLI:

    $ go get github.com/astronomerio/astro-cli
    
  2. Add to .bash_profile:

    alias astro=astro-cli
    

    Note: This is temporary while we have two CLIs (the older one is for current SaaS customers). Eventually this CLI will replace the old one and this step will be unncessary.

  3. Run it to see commands:

    $ astro
    
  4. Create a project:

    $ mkdir hello-astro && cd hello-astro
    $ astro airflow init
    

Development

How to get started as a developer.

  1. Build:

    $ git clone git@github.com:astronomerio/astro-cli.git
    $ cd astro-cli
    $ make build
    
  2. (Optional) Install to $GOBIN:

    $ make install
    
  3. Run:

    $ astro
    

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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