2017 © Pedro Peláez
 

utility anax-cli

Anax CLI tool.

image

anax/anax-cli

Anax CLI tool.

  • Wednesday, March 14, 2018
  • by mikael_roos
  • Repository
  • 1 Watchers
  • 0 Stars
  • 11 Installations
  • Shell
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 14 Versions
  • 0 % Grown

The README.md

Anax CLI

Join the chat at https://gitter.im/canax/anax-cli Latest Stable Version Build Status CircleCI, (*1)

A CLI client to work with Anax web sites, built in bash., (*2)

Install

This is how you download and install the skript. You can review the contents of the install script in src/install.bash., (*3)

bash -c "$(curl https://raw.githubusercontent.com/canax/anax-cli/master/src/install.bash)"

Or like this., (*4)

curl https://raw.githubusercontent.com/canax/anax-cli/master/src/install.bash | bash

Install using composer., (*5)

composer require anax/anax-cli

Usage

Check that the script works by checking its version., (*6)

$ anax version
v1.1.11 (2018-10-31) 

Check whats can be done using the script., (*7)

$ anax help                                                                
Utility to work with Anax web sites. Read more on:                         
https://dbwebb.se/anax-cli/                                                
Usage: anax [options] <command> [arguments]                                

Command:                                                                   
 check                    Check and display details on local environment.  
 config                   Create base for configuration in $HOME/.anax/.   
 create <dir> <template>  Create a new site in dir using a template.       
 help                     Show info on how to use it.                      
 list                     List available templates for scaffolding from.   
 list <template>          List details on specific scaffolding template.   
 selfupdate               Update to latest version.                        
 version                  Show info on how to use it.                      

Options:                                                                   
 --help, -h          Show info on how to use it.                           
 --version, -v       Show info on how to use it.                           
 --force, -f         Force operation even though it should not.            

Scaffold

List the available templates that can be scaffolded., (*8)

anax list

List details on a template, for example anax-flat-site., (*9)

anax list anax-flat-site

Scaffold a website using the selected template and save it all to the directory dir., (*10)

anax create dir anax-flat-site

The site is scaffolded and you can open your webbrowser to the site by opening dir/htdocs., (*11)

Processing scripts

During scaffolding a couple of scripts are executed, these are in general included with each module using to carry out the scaffolding., (*12)

The base dir for these scripts are .anax., (*13)

Templates for scaffolding

The templates used for scaffolding resides in anax/scaffold., (*14)

The specific template used resides in that repo under scaffold/template-name. You can for example review the template used for anax-flat-site., (*15)

License

This software carries a MIT license., (*16)

 .  
..:  Copyright (c) 2013 - 2018 Mikael Roos, mos@dbwebb.se

The Versions

14/03 2018

dev-master

9999999-dev https://dbwebb.se/anax

Anax CLI tool.

  Sources   Download

MIT

micro framework boilerplate mvc education

14/03 2018

v1.1.7

1.1.7.0 https://dbwebb.se/anax

Anax CLI tool.

  Sources   Download

MIT

micro framework boilerplate mvc education

14/03 2018

v1.1.6

1.1.6.0 https://dbwebb.se/anax

Anax CLI tool.

  Sources   Download

MIT

micro framework boilerplate mvc education

31/08 2017

v1.1.5

1.1.5.0 https://dbwebb.se/anax

Anax CLI tool.

  Sources   Download

MIT

micro framework boilerplate mvc education

31/08 2017

v1.1.4

1.1.4.0 https://dbwebb.se/anax

Anax CLI tool.

  Sources   Download

MIT

micro framework boilerplate mvc education

12/08 2017

v1.1.2

1.1.2.0 https://dbwebb.se/anax

Anax CLI tool.

  Sources   Download

MIT

micro framework boilerplate mvc education

12/08 2017

v1.1.1

1.1.1.0 https://dbwebb.se/anax

Anax CLI tool.

  Sources   Download

MIT

micro framework boilerplate mvc education

11/08 2017

v1.1.0

1.1.0.0 https://dbwebb.se/anax

Anax CLI tool.

  Sources   Download

MIT

micro framework boilerplate mvc education

07/08 2017

v1.0.5

1.0.5.0 https://dbwebb.se/anax

Anax CLI tool.

  Sources   Download

MIT

micro framework boilerplate mvc education

07/08 2017

v1.0.4

1.0.4.0 https://dbwebb.se/anax

Anax CLI tool.

  Sources   Download

MIT

micro framework boilerplate mvc education

05/08 2017

v1.0.3

1.0.3.0 https://dbwebb.se/anax

Anax CLI tool.

  Sources   Download

MIT

micro framework boilerplate mvc education

04/08 2017

v1.0.2

1.0.2.0 https://dbwebb.se/anax

Anax CLI tool.

  Sources   Download

MIT

micro framework boilerplate mvc education

15/07 2017

v1.0.1

1.0.1.0 https://dbwebb.se/anax

Anax CLI tool.

  Sources   Download

MIT

micro framework boilerplate mvc education

30/06 2017

v1.0.0

1.0.0.0 https://dbwebb.se/anax

Anax CLI tool.

  Sources   Download

MIT

micro framework boilerplate mvc education