3.1.26 • Published 2 years ago

akkeris v3.1.26

Weekly downloads
13
License
ISC
Repository
github
Last release
2 years ago

Akkeris Command Line Interface

Installing

npm -g install akkeris
ak

More information can be found in the documentation

Environment Variables

export AKKERIS_HELP_OLD=true   # Always show the old Akkeris help

Other env

These environment variables are only useful if for development.

export AKKERIS_API_HOST=apps.yourdomain.io
export AKKERIS_AUTH_HOST=auth.yourdomain.io
export API_AUTH = ".." # used to send "Authorization: ${API_AUTH}"
export API_TOKEN = ".." # used to send "Authorization: Bearer ${API_TOKEN}"
export AKA_UPDATE_INTERVAL # how often to check for updates (ms, default is 24 hours)

Make sure you've added the entries to .netrc as well.

Documentation

https://docs.akkeris.io/

Running in Docker

If you don't want to have Node.js installed, or just want to run the Akkeris CLI in a Docker container, you can build a Docker image with:

docker build -t akkeris-cli .

Or use pre-built image from DockerHub: akkeris/cli

Authentication

You can optionally bind your ~/.netrc and ~/.akkeris/config.json files to the Docker container so you don't have to go through the profile setup and login process each time you use the container. If you don't have either of those files set up yet, create them.

For example, on MacOS:

touch ~/.netrc && mkdir -p ~/.akkeris && touch ~/.akkeris/config.json
docker run --rm -it -v ~/.netrc:/root/.netrc -v ~/.akkeris/config.json:/root/.akkeris/config.json akkeris/cli [COMMAND]

Plugins

You can bind a plugins directory to the Docker container if you want to have plugins persist between usages of the Docker container:

docker run --rm -it -v ~/.akkeris/plugins/:/root/.akkeris/plugins/ akkeris/cli [COMMAND]

Alias

For easier use, you can add an alias to your bash profile:

alias aka="docker run --rm -it -v ~/.akkeris/plugins/:/root/.akkeris/plugins/ -v ~/.netrc:/root/.netrc -v ~/.akkeris/config.json:/root/.akkeris/config.json akkeris/cli"

Then, you can run Akkeris commands inside a Docker container like you had the Akkeris CLI installed locally: aka version

Development

Getting Started

# Clone the repo via HTTPS
git clone https://github.com/akkeris/cli.git
# Or via SSH
git clone git@github.com:akkeris/cli.git

# Change directories into the repo
cd cli

# Install dependencies
npm install

# Create a `.env` file from the `.env.example` file
cp -v .env.example .env
# Modify any environment variable values in `.env` as necessary

# Run the local version of the Akkeris CLI by replacing `aka` with `npm run aka`
npm run aka

# Append any `aka` sub-commands onto the end, such as
npm run aka auth:login
npm run aka apps
npm run aka squirrel
# And you're off to the races!
3.1.25

2 years ago

3.1.26

2 years ago

3.1.23

2 years ago

3.1.24

2 years ago

3.1.22

3 years ago

3.1.21

3 years ago

3.1.20

3 years ago

3.1.19

3 years ago

3.1.18

3 years ago

3.1.17

3 years ago

3.1.16

4 years ago

3.1.15

4 years ago

3.1.14

4 years ago

3.1.13

4 years ago

3.1.12

4 years ago

3.1.10

4 years ago

3.1.9

4 years ago

3.1.8

4 years ago

3.1.7

4 years ago

3.1.6

4 years ago

3.1.5

4 years ago

3.1.4

4 years ago

3.1.3

4 years ago

3.1.2

4 years ago

3.0.1

4 years ago

2.9.21

4 years ago

3.1.1

4 years ago

3.1.0

4 years ago

2.9.20

4 years ago

2.9.19

4 years ago

2.9.18

4 years ago

2.9.17

4 years ago

2.9.16

4 years ago

2.9.13

4 years ago

2.9.12

4 years ago

2.9.11

5 years ago

2.9.10

5 years ago

2.9.9

5 years ago

2.9.8

5 years ago

2.9.7

5 years ago

2.9.6

5 years ago

2.9.4

5 years ago

2.9.3

5 years ago

2.9.2

5 years ago

2.9.1

5 years ago

2.9.0

5 years ago

2.8.15

5 years ago

2.8.14

5 years ago

2.8.13

5 years ago

2.8.12

5 years ago

2.8.11

5 years ago

2.8.10

5 years ago

2.8.9

5 years ago

2.8.8

5 years ago

2.8.7

5 years ago

2.8.6

5 years ago

2.8.5

5 years ago

2.8.1

5 years ago

2.8.0

5 years ago

2.7.9

5 years ago

2.7.8

5 years ago

2.7.6

5 years ago

2.7.5

5 years ago

2.7.4

5 years ago

2.7.3

5 years ago

2.7.2

5 years ago

2.7.1

5 years ago

2.6.5

5 years ago

2.6.4

5 years ago

2.6.3

5 years ago

2.6.2

6 years ago

2.6.0

6 years ago

2.5.0

6 years ago

2.4.28

6 years ago

2.4.27

6 years ago

2.4.26

6 years ago

2.4.25

6 years ago

2.4.24

6 years ago

2.4.22

6 years ago

2.4.21

6 years ago

2.4.20

6 years ago

2.4.19

6 years ago

2.4.18

6 years ago

2.4.17

6 years ago

2.4.16

6 years ago

2.4.15

6 years ago

2.4.14

6 years ago

2.4.13

6 years ago

2.4.12

6 years ago

2.4.11

6 years ago

2.4.10

6 years ago

2.4.9

6 years ago

2.4.8

6 years ago

2.4.7

6 years ago

2.4.6

6 years ago

2.4.5

6 years ago

2.4.4

6 years ago

2.4.3

6 years ago

2.4.2

6 years ago

2.4.1

6 years ago

2.3.7

6 years ago

2.3.6

6 years ago

2.3.5

6 years ago

2.3.4

6 years ago

2.3.3

6 years ago

2.3.2

6 years ago

2.3.1

6 years ago

2.3.0

6 years ago

2.2.9

6 years ago

2.1.8

6 years ago

2.1.7

6 years ago

2.1.6

6 years ago

2.1.5

6 years ago

2.1.4

6 years ago

2.1.3

6 years ago

2.0.2

6 years ago

2.0.1

6 years ago