Skip to content
/ my-we Public

Golang CLI for WE, displays service info in table format.

License

Notifications You must be signed in to change notification settings

mohan3d/my-we

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

my-we

Build Status Go Report Card

Golang CLI for WE https://mytedata.net

Installation

$ go get github.com/mohan3d/my-we

Usage

# Display all info about your account.
$ my-we -email <WE_EMAIL> -password <WE_PASSWORD>

# Display only usage of your service.
# -only value must be one of (profile, usage, days and points).
$ my-we -email <WE_EMAIL> -password <WE_PASSWORD> -only usage

# If email or password not provided.
# email/password will be read from env variables.
$ export WE_EMAIL=<WE_ACCOUNT_EMAIL>
$ export WE_PASSWORD=<WE_ACCOUNT_PASSWORD>
$ my-we -only profile

Testing

WE_EMAIL and WE_PASSWORD must be exported to environment variables before running tests.

$ export WE_EMAIL=<WE_ACCOUNT_EMAIL>
$ export WE_PASSWORD=<WE_ACCOUNT_PASSWORD>
$ cd $GOPATH/src/github.com/mohan3d/my-we
$ go test ./we

About

Golang CLI for WE, displays service info in table format.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages