Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
boilr
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nimrod
boilr
Commits
6b3cf465
Commit
6b3cf465
authored
8 years ago
by
Tamer Tas
Browse files
Options
Downloads
Patches
Plain Diff
log-level: omit the log-level setting temporarily
parent
2ed52b84
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
pkg/cmd/download.go
+0
-3
0 additions, 3 deletions
pkg/cmd/download.go
pkg/cmd/use.go
+0
-3
0 additions, 3 deletions
pkg/cmd/use.go
pkg/cmd/version.go
+0
-2
0 additions, 2 deletions
pkg/cmd/version.go
with
0 additions
and
8 deletions
pkg/cmd/download.go
+
0
−
3
View file @
6b3cf465
...
...
@@ -11,7 +11,6 @@ import (
"github.com/tmrts/boilr/pkg/util/exit"
"github.com/tmrts/boilr/pkg/util/git"
"github.com/tmrts/boilr/pkg/util/osutil"
"github.com/tmrts/boilr/pkg/util/tlog"
"github.com/tmrts/boilr/pkg/util/validate"
)
...
...
@@ -21,8 +20,6 @@ var Download = &cli.Command{
Short
:
"Download a project template from a github repository to template registry"
,
// FIXME Half-Updates leave messy templates
Run
:
func
(
c
*
cli
.
Command
,
args
[]
string
)
{
tlog
.
SetLogLevel
(
GetStringFlag
(
c
,
"log-level"
))
MustValidateArgs
(
args
,
[]
validate
.
Argument
{
{
"template-repo"
,
validate
.
UnixPath
},
{
"template-tag"
,
validate
.
AlphanumericExt
},
...
...
This diff is collapsed.
Click to expand it.
pkg/cmd/use.go
+
0
−
3
View file @
6b3cf465
...
...
@@ -12,7 +12,6 @@ import (
"github.com/tmrts/boilr/pkg/template"
"github.com/tmrts/boilr/pkg/util/exit"
"github.com/tmrts/boilr/pkg/util/osutil"
"github.com/tmrts/boilr/pkg/util/tlog"
"github.com/tmrts/boilr/pkg/util/validate"
)
...
...
@@ -33,8 +32,6 @@ var Use = &cli.Command{
Use
:
"use <template-tag> <target-dir>"
,
Short
:
"Execute a project template in the given directory"
,
Run
:
func
(
cmd
*
cli
.
Command
,
args
[]
string
)
{
tlog
.
SetLogLevel
(
GetStringFlag
(
cmd
,
"log-level"
))
MustValidateArgs
(
args
,
[]
validate
.
Argument
{
{
"template-tag"
,
validate
.
UnixPath
},
{
"target-dir"
,
validate
.
UnixPath
},
...
...
This diff is collapsed.
Click to expand it.
pkg/cmd/version.go
+
0
−
2
View file @
6b3cf465
...
...
@@ -15,8 +15,6 @@ var Version = &cli.Command{
Use
:
"version"
,
Short
:
"Show the boilr version information"
,
Run
:
func
(
c
*
cli
.
Command
,
args
[]
string
)
{
tlog
.
SetLogLevel
(
GetStringFlag
(
c
,
"log-level"
))
MustValidateArgs
(
args
,
[]
validate
.
Argument
{})
shouldntPrettify
:=
GetBoolFlag
(
c
,
"dont-prettify"
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment