Documentation ¶
Overview ¶
package commands defines the Gribble command environment for Wingo.
For more about Gribble, see http://godoc.burntsushi.net/pkg/github.com/BurntSushi/gribble/
For about using Gribble with Wingo, see https://github.com/Anima-OS/Wonderland/blob/master/HOWTO-COMMANDS
Index ¶
- Variables
- type AddWorkspace
- type And
- type AutoCycle
- type AutoMakeMaster
- type AutoMaster
- type AutoMastersFewer
- type AutoMastersMore
- type AutoNext
- type AutoPrev
- type AutoResizeMaster
- type AutoResizeWindow
- type AutoSwitchNext
- type AutoSwitchPrev
- type AutoTile
- type AutoUntile
- type Close
- type CycleClientChoose
- type CycleClientHide
- type CycleClientNext
- type CycleClientPrev
- type Dale
- type Deiconify
- type False
- type Float
- type Focus
- type FocusRaise
- type FrameBorders
- type FrameFull
- type FrameNada
- type FrameSlim
- type GetActive
- type GetAllClients
- type GetClientHeight
- type GetClientList
- type GetClientName
- type GetClientStatesList
- type GetClientType
- type GetClientWidth
- type GetClientWorkspace
- type GetClientX
- type GetClientY
- type GetHead
- type GetHeadHeight
- type GetHeadWidth
- type GetHeadWorkspace
- type GetLayout
- type GetNumHeads
- type GetNumHeadsConnected
- type GetWorkspace
- type GetWorkspaceId
- type GetWorkspaceList
- type GetWorkspaceNext
- type GetWorkspacePrefix
- type GetWorkspacePrev
- type HeadCycle
- type HeadFocus
- type HeadFocusWithClient
- type HideClientFromPanels
- type Iconify
- type Input
- type MatchClientClass
- type MatchClientInstance
- type MatchClientIsTransient
- type MatchClientMapped
- type MatchClientName
- type MatchClientType
- type Maximize
- type Message
- type MouseMove
- type MouseResize
- type Move
- type MovePointer
- type MovePointerRelative
- type MoveRelative
- type Not
- type Or
- type Quit
- type Raise
- type RemoveWorkspace
- type RenameWorkspace
- type Resize
- type Restart
- type Script
- type ScriptConfig
- type SelectClient
- type SelectWorkspace
- type SetLayout
- type SetOpacity
- type Shell
- type ShowClientInPanels
- type TagGet
- type TagSet
- type ToggleFloating
- type ToggleIconify
- type ToggleMaximize
- type ToggleStackAbove
- type ToggleStackBelow
- type ToggleSticky
- type True
- type Unfloat
- type Unmaximize
- type WingoExec
- type WingoHelp
- type Workspace
- type WorkspaceGreedy
- type WorkspaceGreedyWithClient
- type WorkspaceHead
- type WorkspaceSendClient
- type WorkspaceToHead
- type WorkspaceWithClient
- Bugs
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // SafeExec is a channel through which a Gribble command execution is // sent and executed synchronously with respect to the X main event loop. // This is necessary to allow asynchronous prompts to run and return // values without locking up the rest of the window manager. SafeExec = make(chan func() gribble.Value, 1) // SafeReturn is the means through which a return value from a Gribble // command is synchronously returned with respext to the X main event loop. // See SafeExec. SafeReturn = make(chan gribble.Value, 0) )
View Source
var Env = gribble.New([]gribble.Command{ &AddWorkspace{}, &Close{}, &Dale{}, &Float{}, &Focus{}, &FocusRaise{}, &FrameBorders{}, &FrameFull{}, &FrameNada{}, &FrameSlim{}, &HeadCycle{}, &HeadFocus{}, &HeadFocusWithClient{}, &ToggleFloating{}, &ToggleIconify{}, &Iconify{}, &Deiconify{}, &ToggleMaximize{}, &ToggleStackAbove{}, &ToggleStackBelow{}, &ToggleSticky{}, &Maximize{}, &MouseMove{}, &MouseResize{}, &Move{}, &MoveRelative{}, &MovePointer{}, &MovePointerRelative{}, &Raise{}, &RemoveWorkspace{}, &RenameWorkspace{}, &Resize{}, &Restart{}, &Quit{}, &SetLayout{}, &SetOpacity{}, &Script{}, &ScriptConfig{}, &Shell{}, &Unfloat{}, &Unmaximize{}, &WingoExec{}, &WingoHelp{}, &Workspace{}, &WorkspaceGreedy{}, &WorkspaceHead{}, &WorkspaceSendClient{}, &WorkspaceToHead{}, &WorkspaceWithClient{}, &WorkspaceGreedyWithClient{}, &AutoTile{}, &AutoUntile{}, &AutoCycle{}, &AutoResizeMaster{}, &AutoResizeWindow{}, &AutoNext{}, &AutoPrev{}, &AutoSwitchNext{}, &AutoSwitchPrev{}, &AutoMaster{}, &AutoMakeMaster{}, &AutoMastersMore{}, &AutoMastersFewer{}, &CycleClientChoose{}, &CycleClientHide{}, &CycleClientNext{}, &CycleClientPrev{}, &Input{}, &Message{}, &SelectClient{}, &SelectWorkspace{}, &GetActive{}, &GetAllClients{}, &GetClientX{}, &GetClientY{}, &GetClientHeight{}, &GetClientWidth{}, &GetClientList{}, &GetClientName{}, &GetClientType{}, &GetClientWorkspace{}, &GetHead{}, &GetNumHeads{}, &GetNumHeadsConnected{}, &GetHeadHeight{}, &GetHeadWidth{}, &GetHeadWorkspace{}, &GetLayout{}, &GetWorkspace{}, &GetWorkspaceId{}, &GetWorkspaceList{}, &GetWorkspaceNext{}, &GetWorkspacePrefix{}, &GetWorkspacePrev{}, &GetClientStatesList{}, &HideClientFromPanels{}, &ShowClientInPanels{}, &TagGet{}, &TagSet{}, &True{}, &False{}, &MatchClientMapped{}, &MatchClientClass{}, &MatchClientInstance{}, &MatchClientIsTransient{}, &MatchClientName{}, &MatchClientType{}, &Not{}, &And{}, &Or{}, })
Env declares all available commands. Any command not in this list cannot be executed.
Functions ¶
This section is empty.
Types ¶
type AddWorkspace ¶
type AddWorkspace struct { Name string `param:"1"` Help string `` /* 210-byte string literal not displayed */ }
func (AddWorkspace) Run ¶
func (cmd AddWorkspace) Run() gribble.Value
type And ¶
type AutoCycle ¶
type AutoMakeMaster ¶
type AutoMakeMaster struct { Workspace gribble.Any `param:"1" types:"int,string"` Help string `` /* 260-byte string literal not displayed */ }
func (AutoMakeMaster) Run ¶
func (cmd AutoMakeMaster) Run() gribble.Value
type AutoMaster ¶
type AutoMaster struct { Workspace gribble.Any `param:"1" types:"int,string"` Help string `` /* 244-byte string literal not displayed */ }
func (AutoMaster) Run ¶
func (cmd AutoMaster) Run() gribble.Value
type AutoMastersFewer ¶
type AutoMastersFewer struct { Workspace gribble.Any `param:"1" types:"int,string"` Help string `` /* 144-byte string literal not displayed */ }
func (AutoMastersFewer) Run ¶
func (cmd AutoMastersFewer) Run() gribble.Value
type AutoMastersMore ¶
type AutoMastersMore struct { Workspace gribble.Any `param:"1" types:"int,string"` Help string `` /* 143-byte string literal not displayed */ }
func (AutoMastersMore) Run ¶
func (cmd AutoMastersMore) Run() gribble.Value
type AutoNext ¶
type AutoPrev ¶
type AutoResizeMaster ¶
type AutoResizeMaster struct { Workspace gribble.Any `param:"1" types:"int,string"` Amount float64 `param:"2"` Help string `` /* 247-byte string literal not displayed */ }
func (AutoResizeMaster) Run ¶
func (cmd AutoResizeMaster) Run() gribble.Value
type AutoResizeWindow ¶
type AutoResizeWindow struct { Workspace gribble.Any `param:"1" types:"int,string"` Amount float64 `param:"2"` Help string `` /* 249-byte string literal not displayed */ }
func (AutoResizeWindow) Run ¶
func (cmd AutoResizeWindow) Run() gribble.Value
type AutoSwitchNext ¶
type AutoSwitchNext struct { Workspace gribble.Any `param:"1" types:"int,string"` Help string `` /* 218-byte string literal not displayed */ }
func (AutoSwitchNext) Run ¶
func (cmd AutoSwitchNext) Run() gribble.Value
type AutoSwitchPrev ¶
type AutoSwitchPrev struct { Workspace gribble.Any `param:"1" types:"int,string"` Help string `` /* 222-byte string literal not displayed */ }
func (AutoSwitchPrev) Run ¶
func (cmd AutoSwitchPrev) Run() gribble.Value
type AutoTile ¶
type AutoUntile ¶
type AutoUntile struct { Workspace gribble.Any `param:"1" types:"int,string"` Help string `` /* 370-byte string literal not displayed */ }
func (AutoUntile) Run ¶
func (cmd AutoUntile) Run() gribble.Value
type Close ¶
type CycleClientChoose ¶
type CycleClientChoose struct {
Help string `
Activates the current choice in a cycle prompt.
`
}
func (CycleClientChoose) Run ¶
func (cmd CycleClientChoose) Run() gribble.Value
type CycleClientHide ¶
type CycleClientHide struct {
Help string `
Hides (i.e., cancels) the current cycle prompt.
`
}
func (CycleClientHide) Run ¶
func (cmd CycleClientHide) Run() gribble.Value
type CycleClientNext ¶
type CycleClientNext struct { OnlyActiveWorkspace string `param:"1"` OnlyVisible string `param:"2"` ShowIconified string `param:"3"` Help string `` /* 506-byte string literal not displayed */ }
func (CycleClientNext) Run ¶
func (cmd CycleClientNext) Run() gribble.Value
func (CycleClientNext) RunWithKeyStr ¶
func (cmd CycleClientNext) RunWithKeyStr(keyStr string)
type CycleClientPrev ¶
type CycleClientPrev struct { OnlyActiveWorkspace string `param:"1"` OnlyVisible string `param:"2"` ShowIconified string `param:"3"` Help string `` /* 514-byte string literal not displayed */ }
func (CycleClientPrev) Run ¶
func (cmd CycleClientPrev) Run() gribble.Value
func (CycleClientPrev) RunWithKeyStr ¶
func (cmd CycleClientPrev) RunWithKeyStr(keyStr string)
type Dale ¶
type Dale struct {
Help string `
Make sure "audio_play_cmd" is set to a program that can play wav files.
`
}
type Deiconify ¶
type Float ¶
type Focus ¶
type FocusRaise ¶
type FocusRaise struct { Client gribble.Any `param:"1" types:"int,string"` Help string ` Focuses and raises the window specified by Client. Client may be the window id or a substring that matches a window name. ` }
func (FocusRaise) Run ¶
func (cmd FocusRaise) Run() gribble.Value
type FrameBorders ¶
type FrameBorders struct { Client gribble.Any `param:"1" types:"int,string"` Help string `` /* 151-byte string literal not displayed */ }
func (FrameBorders) Run ¶
func (cmd FrameBorders) Run() gribble.Value
type FrameFull ¶
type FrameNada ¶
type FrameSlim ¶
type GetActive ¶
type GetActive struct {
Help string `
Returns the id of the currently active window. If there is no active window,
0 is returned.
`
}
type GetAllClients ¶
type GetAllClients struct {
Help string `` /* 151-byte string literal not displayed */
}
func (GetAllClients) Run ¶
func (cmd GetAllClients) Run() gribble.Value
type GetClientHeight ¶
type GetClientHeight struct { Client gribble.Any `param:"1" types:"int,string"` Help string `` /* 194-byte string literal not displayed */ }
func (GetClientHeight) Run ¶
func (cmd GetClientHeight) Run() gribble.Value
type GetClientList ¶
type GetClientList struct { Workspace gribble.Any `param:"1" types:"int,string"` Help string `` /* 276-byte string literal not displayed */ }
func (GetClientList) Run ¶
func (cmd GetClientList) Run() gribble.Value
type GetClientName ¶
type GetClientName struct { Client gribble.Any `param:"1" types:"int,string"` Help string `` /* 139-byte string literal not displayed */ }
func (GetClientName) Run ¶
func (cmd GetClientName) Run() gribble.Value
type GetClientStatesList ¶
type GetClientStatesList struct { Client gribble.Any `param:"1" types:"int,string"` Help string `` /* 441-byte string literal not displayed */ }
func (GetClientStatesList) Run ¶
func (cmd GetClientStatesList) Run() gribble.Value
type GetClientType ¶
type GetClientType struct { Client gribble.Any `param:"1" types:"int,string"` Help string `` /* 199-byte string literal not displayed */ }
func (GetClientType) Run ¶
func (cmd GetClientType) Run() gribble.Value
type GetClientWidth ¶
type GetClientWidth struct { Client gribble.Any `param:"1" types:"int,string"` Help string `` /* 193-byte string literal not displayed */ }
func (GetClientWidth) Run ¶
func (cmd GetClientWidth) Run() gribble.Value
type GetClientWorkspace ¶
type GetClientWorkspace struct { Client gribble.Any `param:"1" types:"int,string"` Help string `` /* 144-byte string literal not displayed */ }
func (GetClientWorkspace) Run ¶
func (cmd GetClientWorkspace) Run() gribble.Value
type GetClientX ¶
type GetClientX struct { Client gribble.Any `param:"1" types:"int,string"` Help string `` /* 452-byte string literal not displayed */ }
func (GetClientX) Run ¶
func (cmd GetClientX) Run() gribble.Value
type GetClientY ¶
type GetClientY struct { Client gribble.Any `param:"1" types:"int,string"` Help string `` /* 452-byte string literal not displayed */ }
func (GetClientY) Run ¶
func (cmd GetClientY) Run() gribble.Value
type GetHeadHeight ¶
type GetHeadHeight struct { Head int `param:"1"` Help string `` /* 220-byte string literal not displayed */ }
func (GetHeadHeight) Run ¶
func (cmd GetHeadHeight) Run() gribble.Value
type GetHeadWidth ¶
type GetHeadWidth struct { Head int `param:"1"` Help string `` /* 219-byte string literal not displayed */ }
func (GetHeadWidth) Run ¶
func (cmd GetHeadWidth) Run() gribble.Value
type GetHeadWorkspace ¶
type GetHeadWorkspace struct { Head int `param:"1"` Help string `` /* 191-byte string literal not displayed */ }
func (GetHeadWorkspace) Run ¶
func (cmd GetHeadWorkspace) Run() gribble.Value
type GetLayout ¶
type GetNumHeads ¶
type GetNumHeads struct {
Help string `
Returns the number of active Heads.
`
}
func (GetNumHeads) Run ¶
func (cmd GetNumHeads) Run() gribble.Value
type GetNumHeadsConnected ¶
type GetNumHeadsConnected struct {
Help string `
Returns the number of Heads connected. This number may be greater
than the number returned by GetNumHeads.
`
}
func (GetNumHeadsConnected) Run ¶
func (cmd GetNumHeadsConnected) Run() gribble.Value
type GetWorkspace ¶
type GetWorkspace struct {
Help string `
Returns the name of the current workspace.
`
}
func (GetWorkspace) Run ¶
func (cmd GetWorkspace) Run() gribble.Value
type GetWorkspaceId ¶
type GetWorkspaceId struct { Workspace gribble.Any `param:"1" types:"int,string"` Help string `` /* 151-byte string literal not displayed */ }
func (GetWorkspaceId) Run ¶
func (cmd GetWorkspaceId) Run() gribble.Value
type GetWorkspaceList ¶
type GetWorkspaceList struct {
Help string `
Returns a list of all workspaces, in the order that they were added.
The special "Sticky" workspace is not included.
`
}
func (GetWorkspaceList) Run ¶
func (cmd GetWorkspaceList) Run() gribble.Value
type GetWorkspaceNext ¶
type GetWorkspaceNext struct {
Help string `` /* 222-byte string literal not displayed */
}
func (GetWorkspaceNext) Run ¶
func (cmd GetWorkspaceNext) Run() gribble.Value
type GetWorkspacePrefix ¶
type GetWorkspacePrefix struct { Prefix string `param:"1"` Help string `` /* 202-byte string literal not displayed */ }
func (GetWorkspacePrefix) Run ¶
func (cmd GetWorkspacePrefix) Run() gribble.Value
type GetWorkspacePrev ¶
type GetWorkspacePrev struct {
Help string `` /* 226-byte string literal not displayed */
}
func (GetWorkspacePrev) Run ¶
func (cmd GetWorkspacePrev) Run() gribble.Value
type HeadCycle ¶
type HeadCycle struct {
Help string `` /* 134-byte string literal not displayed */
}
type HeadFocus ¶
type HeadFocusWithClient ¶
type HeadFocusWithClient struct { Head int `param:"1"` Client gribble.Any `param:"2" types:"int,string"` Help string `` /* 276-byte string literal not displayed */ }
func (HeadFocusWithClient) Run ¶
func (cmd HeadFocusWithClient) Run() gribble.Value
type HideClientFromPanels ¶
type HideClientFromPanels struct { Client gribble.Any `param:"1" types:"int,string"` Help string `` /* 173-byte string literal not displayed */ }
func (HideClientFromPanels) Run ¶
func (cmd HideClientFromPanels) Run() gribble.Value
type Iconify ¶
type Input ¶
type MatchClientClass ¶
type MatchClientClass struct { Client gribble.Any `param:"1" types:"int,string"` Class string `param:"2"` Help string `` /* 269-byte string literal not displayed */ }
func (MatchClientClass) Run ¶
func (cmd MatchClientClass) Run() gribble.Value
type MatchClientInstance ¶
type MatchClientInstance struct { Client gribble.Any `param:"1" types:"int,string"` Instance string `param:"2"` Help string `` /* 275-byte string literal not displayed */ }
func (MatchClientInstance) Run ¶
func (cmd MatchClientInstance) Run() gribble.Value
type MatchClientIsTransient ¶
type MatchClientIsTransient struct { Client gribble.Any `param:"1" types:"int,string"` Help string `` /* 235-byte string literal not displayed */ }
func (MatchClientIsTransient) Run ¶
func (cmd MatchClientIsTransient) Run() gribble.Value
type MatchClientMapped ¶
type MatchClientMapped struct { Client gribble.Any `param:"1" types:"int,string"` Help string `` /* 135-byte string literal not displayed */ }
func (MatchClientMapped) Run ¶
func (cmd MatchClientMapped) Run() gribble.Value
type MatchClientName ¶
type MatchClientName struct { Client gribble.Any `param:"1" types:"int,string"` Name string `param:"2"` Help string `` /* 235-byte string literal not displayed */ }
func (MatchClientName) Run ¶
func (cmd MatchClientName) Run() gribble.Value
type MatchClientType ¶
type MatchClientType struct { Client gribble.Any `param:"1" types:"int,string"` Type string `param:"2"` Help string `` /* 241-byte string literal not displayed */ }
func (MatchClientType) Run ¶
func (cmd MatchClientType) Run() gribble.Value
type Maximize ¶
type Message ¶
type MouseMove ¶
type MouseMove struct {
Help string `` /* 211-byte string literal not displayed */
}
type MouseResize ¶
type MouseResize struct { Direction string `param:"1"` Help string `` /* 680-byte string literal not displayed */ }
func (MouseResize) Run ¶
func (cmd MouseResize) Run() gribble.Value
type Move ¶
type MovePointer ¶
type MovePointer struct { X int `param:"1"` Y int `param:"2"` Help string ` Moves the pointer to the x and y position specified by X and Y. Note the the origin is located in the top left corner. ` }
func (MovePointer) Run ¶
func (cmd MovePointer) Run() gribble.Value
type MovePointerRelative ¶
type MovePointerRelative struct { X gribble.Any `param:"1" types:"int,float"` Y gribble.Any `param:"2" types:"int,float"` Help string `` /* 344-byte string literal not displayed */ }
func (MovePointerRelative) Run ¶
func (cmd MovePointerRelative) Run() gribble.Value
type MoveRelative ¶
type MoveRelative struct { Client gribble.Any `param:"1" types:"int,string"` X gribble.Any `param:"2" types:"int,float"` Y gribble.Any `param:"3" types:"int,float"` Help string `` /* 439-byte string literal not displayed */ }
func (MoveRelative) Run ¶
func (cmd MoveRelative) Run() gribble.Value
type Or ¶
type Raise ¶
type RemoveWorkspace ¶
type RemoveWorkspace struct { Workspace gribble.Any `param:"1" types:"int,string"` Help string `` /* 226-byte string literal not displayed */ }
func (RemoveWorkspace) Run ¶
func (cmd RemoveWorkspace) Run() gribble.Value
type RenameWorkspace ¶
type RenameWorkspace struct { Workspace gribble.Any `param:"1" types:"int,string"` NewName string `param:"2"` Help string `` /* 182-byte string literal not displayed */ }
func (RenameWorkspace) Run ¶
func (cmd RenameWorkspace) Run() gribble.Value
type Resize ¶
type Restart ¶
type Restart struct {
Help string `
Restarts Wingo in place using exec. This should be used to reload Wingo
after you've made changes to its configuration.
`
}
type Script ¶
type ScriptConfig ¶
type ScriptConfig struct { ScriptName string `param:"1"` Help string ` Returns the path to a script's configuration file. ` }
func (ScriptConfig) Run ¶
func (cmd ScriptConfig) Run() gribble.Value
type SelectClient ¶
type SelectClient struct { TabCompletion string `param:"1"` OnlyActiveWorkspace string `param:"2"` OnlyVisible string `param:"3"` ShowIconified string `param:"4"` Help string `` /* 864-byte string literal not displayed */ }
func (SelectClient) Run ¶
func (cmd SelectClient) Run() gribble.Value
type SelectWorkspace ¶
type SelectWorkspace struct { TabCompletion string `param:"1"` Help string `` /* 508-byte string literal not displayed */ }
func (SelectWorkspace) Run ¶
func (cmd SelectWorkspace) Run() gribble.Value
type SetLayout ¶
type SetOpacity ¶
type SetOpacity struct { Client gribble.Any `param:"1" types:"int,string"` Opacity float64 `param:"2"` Help string `` /* 407-byte string literal not displayed */ }
func (SetOpacity) Run ¶
func (cmd SetOpacity) Run() gribble.Value
type Shell ¶
type ShowClientInPanels ¶
type ShowClientInPanels struct { Client gribble.Any `param:"1" types:"int,string"` Help string `` /* 170-byte string literal not displayed */ }
func (ShowClientInPanels) Run ¶
func (cmd ShowClientInPanels) Run() gribble.Value
type TagGet ¶
type TagSet ¶
type ToggleFloating ¶
type ToggleFloating struct { Client gribble.Any `param:"1" types:"int,string"` Help string `` /* 221-byte string literal not displayed */ }
func (ToggleFloating) Run ¶
func (cmd ToggleFloating) Run() gribble.Value
type ToggleIconify ¶
type ToggleIconify struct { Client gribble.Any `param:"1" types:"int,string"` Help string `` /* 156-byte string literal not displayed */ }
func (ToggleIconify) Run ¶
func (cmd ToggleIconify) Run() gribble.Value
type ToggleMaximize ¶
type ToggleMaximize struct { Client gribble.Any `param:"1" types:"int,string"` Help string `` /* 127-byte string literal not displayed */ }
func (ToggleMaximize) Run ¶
func (cmd ToggleMaximize) Run() gribble.Value
type ToggleStackAbove ¶
type ToggleStackAbove struct { Client gribble.Any `param:"1" types:"int,string"` Help string `` /* 234-byte string literal not displayed */ }
func (ToggleStackAbove) Run ¶
func (cmd ToggleStackAbove) Run() gribble.Value
type ToggleStackBelow ¶
type ToggleStackBelow struct { Client gribble.Any `param:"1" types:"int,string"` Help string `` /* 234-byte string literal not displayed */ }
func (ToggleStackBelow) Run ¶
func (cmd ToggleStackBelow) Run() gribble.Value
type ToggleSticky ¶
type ToggleSticky struct { Client gribble.Any `param:"1" types:"int,string"` Help string `` /* 259-byte string literal not displayed */ }
func (ToggleSticky) Run ¶
func (cmd ToggleSticky) Run() gribble.Value
type Unfloat ¶
type Unmaximize ¶
type Unmaximize struct { Client gribble.Any `param:"1" types:"int,string"` Help string `` /* 177-byte string literal not displayed */ }
func (Unmaximize) Run ¶
func (cmd Unmaximize) Run() gribble.Value
type WingoExec ¶
type WingoHelp ¶
type Workspace ¶
type WorkspaceGreedy ¶
type WorkspaceGreedy struct { Workspace gribble.Any `param:"1" types:"int,string"` Help string `` /* 332-byte string literal not displayed */ }
func (WorkspaceGreedy) Run ¶
func (cmd WorkspaceGreedy) Run() gribble.Value
type WorkspaceGreedyWithClient ¶
type WorkspaceGreedyWithClient struct { Workspace gribble.Any `param:"1" types:"int,string"` Client gribble.Any `param:"2" types:"int,string"` Help string `` /* 470-byte string literal not displayed */ }
func (WorkspaceGreedyWithClient) Run ¶
func (cmd WorkspaceGreedyWithClient) Run() gribble.Value
type WorkspaceHead ¶
type WorkspaceHead struct { Workspace gribble.Any `param:"1" types:"int,string"` Help string `` /* 315-byte string literal not displayed */ }
func (WorkspaceHead) Run ¶
func (cmd WorkspaceHead) Run() gribble.Value
type WorkspaceSendClient ¶
type WorkspaceSendClient struct { Workspace gribble.Any `param:"1" types:"int,string"` Client gribble.Any `param:"2" types:"int,string"` Help string `` /* 233-byte string literal not displayed */ }
func (WorkspaceSendClient) Run ¶
func (cmd WorkspaceSendClient) Run() gribble.Value
type WorkspaceToHead ¶
type WorkspaceToHead struct { Head int `param:"1"` Workspace gribble.Any `param:"2" types:"int,string"` Help string `` /* 288-byte string literal not displayed */ }
func (WorkspaceToHead) Run ¶
func (cmd WorkspaceToHead) Run() gribble.Value
type WorkspaceWithClient ¶
type WorkspaceWithClient struct { Workspace gribble.Any `param:"1" types:"int,string"` Client gribble.Any `param:"2" types:"int,string"` Help string `` /* 283-byte string literal not displayed */ }
func (WorkspaceWithClient) Run ¶
func (cmd WorkspaceWithClient) Run() gribble.Value
Notes ¶
Bugs ¶
I think there is a bug in text/scanner where if a string ends with an escaped quote, the quote is cutoff and the backslash is left intact.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.