GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - layers-digital/layers-cli: Layers's Command Line Interface

BranchesTags
Open more actions menu

Latest commit

 

History

34 Commits
34 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
cmd
cmd
 
 
knowledge
knowledge
 
 
LAYERS.md
LAYERS.md
 
 
README.md
README.md
 
 
go.mod
go.mod
 
 
go.sum
go.sum
 
 
install.sh
install.sh
 
 
layers.sh
layers.sh
 
 
main.go
main.go
 
 

Repository files navigation

Layers Command Line Interface

Parallel project to simplify Layers's repos first usage

Now using golang

To Install

  • NVM
    • install versions: 8, 12, 14
    • NVM_DIR is set
  • Layers
    • LAYERS_PATH is set to the root of Layers's directory

About Go project

  • To run in your own machine you must have golang installed
  • This project is using Cobra to build the CLI
  • With golang installed, use go run main.go to run the cli
  • If you want to build, use this command go build in the root. It will generate layers_cli file, which could be initialized via terminal
  • If you want to create a new command, you must install CobraGenerator. With CobraGenerator installed, use the command cobra add <commandName> in the root.

How to install?

  • run bash ./install.sh --build in the root to build and install
  • OBS: At this moment you need to install golang to build

Tasks

  • Commands: status of each command
    • Doctor
      • check mongodb
      • check redis
      • check file
      • check required directories
      • use knowledge package
    • Ecosystem
      • Run
        • Run ecosystem for current project
      • Monitor
        • Open pm2's terminal monitor
      • Setup
        • get project's required directories
        • get needs for the project ecosystem
        • setup needs
        • run setup scripts for each directory
        • get interpreters
          • node
            • from nvm
            • from asdf
        • generate .config.js file
      • Stop
        • Stop current ecosystem
  • configuration file (LAYERS.md): a file to specify the project's configuration;
  • automatic installation;
    • publish binary
    • install script

About

Layers's Command Line Interface

Resources

Readme
Activity
Custom properties

Stars

0 stars

Watchers

5 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.