Skip to content
This repository has been archived by the owner on Jan 17, 2022. It is now read-only.

xcomponent/xc-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xc-cli

XComponent Command Line Interface

Coverage Status Build Status

Build

XC Cli requires dep to manage its dependencies.

$ go get -u github.com/golang/dep/cmd/dep

Once dep is available in your PATH, you are ready to build and run XC Cli

$ dep ensure
$ go install
$ xc-cli
NAME:
   XC CLI - XComponent Command Line Interface

USAGE:
   xc-cli [global options] command [command options] [arguments...]

VERSION:
   0.2.0

COMMANDS:
     install         Install XComponent
     init            Initialize a new XComponent project
     add             Add new element to the project
     rename-project  Rename the current project name
     help, h         Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --help, -h     show help
   --version, -v  print the version

Release

Install ghr

$ go get -u github.com/tcnksm/ghr

Generate a Github Personal Access Token with the public_repo scope. Add that token to your git global configuration.

$ git config --global github.token "....."

You can now launch RELEASE.sh with the tag version you would like to release.

$ ./RELEASE.sh 0.2.0