8000 add bql command, same function as "sensorbee shell" by disktnk · Pull Request #65 · sensorbee/sensorbee · GitHub
[go: up one dir, main page]

Skip to content

add bql command, same function as "sensorbee shell"#65

Merged
nobu-k merged 1 commit intosensorbee:masterfrom
disktnk:055-bql-command
May 20, 2016
Merged

add bql command, same function as "sensorbee shell"#65
nobu-k merged 1 commit intosensorbee:masterfrom
disktnk:055-bql-command

Conversation

@disktnk
Copy link
Member
@disktnk disktnk commented May 20, 2016

refs #55

$ cd /path/to/sensorbee/cmd/bql
$ go install

then

$ bql -t test
test>

app.Flags = shell.CmdFlags
app.Action = shell.Launch

if err := app.Run(os.Args); err != nil {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because shell.Launch returns an error as cli.NewExitError, this error check isn't necessary.

@disktnk disktnk force-pushed the 055-bql-command branch from 9ac0511 to 27e82d4 Compare May 20, 2016 22:34
@nobu-k nobu-k merged commit fb0b729 into sensorbee:master May 20, 2016
@nobu-k
Copy link
Member
nobu-k commented May 20, 2016

Thanks! This was a very concise!

@disktnk disktnk deleted the 055-bql-command branch May 24, 2016 05:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

0