Skip to content

morcano/tinybird-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tinybird-cli

A simple CLI tool to manage some bulk operations for TinyBird API (at this moment, only one operation PUT is supported). The app is built using the cobra CLI framework, and it has the following structure:

├── cmd
│   ├── root.go
│   └── tokens
│       ├── tokens.go
│       └── actions        
│           └── put.go
└── main.go

Flags:

Flag Short Form Description
--admin-token -a Workspace admin token
--scope -s This flag is used to provide a list of scopes (for tokens API)

Usage

According to directory structure app args looks as follows

tinybird-cli [entity] [action] [flags]

The following example illustrates how you can run the CLI tool for bulk update auth tokens and grant access to list of pipes:

tinybird-cli tokens put \
 -a=p.eyJ1IjogImUwMGU2NjJjLWQ... \
 -s=PIPES:READ:PipeName,PIPES:READ:PipeName2,PIPES:READ:PipeName3 \ 

Build

go build

TODO

tests, build artifacts

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages