Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-dms3-cmds
Commits
84f00147
Commit
84f00147
authored
Nov 12, 2014
by
Brian Tiger Chow
Committed by
Juan Batiz-Benet
Nov 14, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docs(commands/request)
parent
4c295937
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
request.go
request.go
+6
-0
No files found.
request.go
View file @
84f00147
...
...
@@ -25,6 +25,12 @@ type Request interface {
Option
(
name
string
)
*
OptionValue
Options
()
optMap
SetOption
(
name
string
,
val
interface
{})
// Arguments() returns user provided arguments as declared on the Command.
//
// NB: `io.Reader`s returned by Arguments() are owned by the library.
// Readers are not guaranteed to remain open after the Command's Run
// function returns.
Arguments
()
[]
interface
{}
// TODO: make argument value type instead of using interface{}
Context
()
*
Context
SetContext
(
Context
)
...
...
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