Skip to content

CodePicnic/codepicnic-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation

###OS X:

Download and run the OS X installer .

###Ubuntu:

Run this from your terminal

wget -O- https://apt.codepicnic.com/codepicnic-cli-ubuntu.sh  | sh

Configuration (set credentials)

Get your credentials (Client ID / Client Secret) from CodeGround.xyz

REPL Mode

Run this from your terminal

codepicnic

Then inside the repl type 'configure':

CodePicnic> configure

CLI Mode

Run this from your terminal

codepicnic configure

Commands

All command run in CLI or REPL Mode. If you don't enter parameters, the program will ask for them.

  • clear: clear screen
  • configure: save configuration
  • connect: connect to a console
  • copy: copy a file from/to a console
  • create: create and start a new console
  • exit: exit the REPL
  • help: Shows a list of commands or help for one command
  • list: list consoles
  • mount: mount /app filesystem from a container
  • restart: restart a console
  • start: start a console
  • stop: stop a console
  • unmount: unmount /app filesystem from a container

Build instructions

Clone the repository and export GOPATH

Download all dependencies

go get ./...

Build the binary:

export GOPATH=/home/hdanniel/codepicnic/cli (linux/mac)
export GOPATH=C:\Users\hector\codepicnic\codepicnic-cli (windows)
go build -o codeground -ldflags "-X main.version=0.1 -X main.site=https://codeground.xyz -X main.swarm_host=tcp:https://mw.codeground.xyz:4430" github.com/codepicnic/codepicnic-cli/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages