2.0.6 • Published 9 years ago

seaport-client v2.0.6

Weekly downloads
5
License
BSD
Repository
github
Last release
9 years ago

Seaport client tool to help to publish packages to server.

Before all. you need to setup your own server, you can find the instruction here: https://github.com/ltebean/seaport-server

##Usage:

Run seaport -h to print the usage

Usage: seaport [options] [command]

Commands:

config [options]       config server address
signup [options]       signup a new user
login [options]        login as existing user
create_app [options]   create an app
info                   list the package info
publish [options]      pack current folder and publish to server

After setup the server, make seaport-client point to the server by:

seaport config -h http://localhost:8080

Switch profile

Each profile has its own config, you can switch profile by:

seaport profile -n profileName

Create a user

seaport signup -n username -p password

Once you create the account, the login token will be saved to your machine, you can use seaport config to find the token.

Login as existing user

seaport login -n username -p password

Once log in, the token will be saved to your machine, you can use seaport config to find the token.

Create an app

seaport create_app -n TestApp

After the app is created, the app secret will be saved locally, you can use seaport config to find it.

Publish the package

seaport publish -a appName -p packageName -v versionNumber

Alternatively, you can specify the app name in your package.json, then seaport will read package name and version number from it

"seaport": {
	"zipRoot": "./build",
    "appName": "Test"
}

This command will pack the current working directory into a zip file and publish to server

List app and package info

seaport info
2.0.6

9 years ago

2.0.5

10 years ago

2.0.2

10 years ago

2.0.1

10 years ago

2.0.0

10 years ago

0.5.0

10 years ago

0.4.0

11 years ago

0.3.0

11 years ago

0.2.2

11 years ago

0.2.1

11 years ago

0.2.0

12 years ago

0.1.0

12 years ago