Discover Packages
github.com/ariarijp/redashman
command
module
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Nov 23, 2017
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: ? modules, 0 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
README
README
¶
redashman
redashman is a query management tool for Redash
Installation
$ go get -u github.com/ariarijp/redashman
Usage
$ export REDASH_URL=http://localhost:5000
$ export REDASH_API_KEY=YOUR_API_KEY
$
$ # List queries
$ redashman query list 100 --url $REDASH_URL --api-key $REDASH_API_KEY
$
$ # Show a query
$ redashman query show 1 --url $REDASH_URL --api-key $REDASH_API_KEY
$
$ # Create a new query with text from a file
$ echo "SELECT NOW();" > new_query.sql
$ redashman query create new_query.sql --url $REDASH_URL --api-key $REDASH_API_KEY
$
$ # Modify a query with text from a file
$ echo "SELECT NOW(), CURDATE();" > modified_query.sql
$ redashman query modify 1 modified_query.sql --url $REDASH_URL --api-key $REDASH_API_KEY
$
$ # Fork a query from an existing one
$ redashman query fork 1 --url $REDASH_URL --api-key $REDASH_API_KEY
$
$ # Archive a query
$ redashman query archive 1 --url $REDASH_URL --api-key $REDASH_API_KEY
License
MIT
Author
ariarijp
Expand ▾
Collapse ▴
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.