Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
9223c954
Commit
9223c954
authored
Feb 15, 2015
by
Jason Wilder
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CLI: Order commands alphabetically
parent
a3925e8a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
main.go
+4
-2
pkg/cmd/dashboard.go
+1
-1
No files found.
main.go
View file @
9223c954
...
...
@@ -31,9 +31,11 @@ func main() {
app
.
Name
=
"Grafana Backend"
app
.
Usage
=
"grafana web"
app
.
Version
=
version
app
.
Commands
=
[]
cli
.
Command
{
cmd
.
Web
,
cmd
.
ImportJson
,
app
.
Commands
=
[]
cli
.
Command
{
cmd
.
ListAccounts
,
cmd
.
CreateAccount
,
cmd
.
DeleteAccount
,
cmd
.
ListDataSources
,
cmd
.
CreateDataSource
,
cmd
.
DescribeDataSource
,
cmd
.
DeleteDataSource
}
cmd
.
ImportDashboard
,
cmd
.
ListDataSources
,
cmd
.
CreateDataSource
,
cmd
.
DescribeDataSource
,
cmd
.
DeleteDataSource
,
cmd
.
Web
}
app
.
Flags
=
append
(
app
.
Flags
,
[]
cli
.
Flag
{
cli
.
StringFlag
{
Name
:
"config"
,
...
...
pkg/cmd/dashboard.go
View file @
9223c954
...
...
@@ -14,7 +14,7 @@ import (
"github.com/grafana/grafana/pkg/setting"
)
var
Import
Json
=
cli
.
Command
{
var
Import
Dashboard
=
cli
.
Command
{
Name
:
"dashboard:import"
,
Usage
:
"imports dashboards in JSON from a directory"
,
Description
:
"Starts Grafana import process"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment