Documentation
¶
Overview ¶
Copyright 2019 GramLabs, Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2019 GramLabs, Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2019 GramLabs, Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- func NewDefaultCommand(cmd func(f util.Factory, ioStreams util.IOStreams) *cobra.Command) *cobra.Command
- func NewDefaultRedskyctlCommand() *cobra.Command
- func NewDocsCommand(ioStreams cmdutil.IOStreams) *cobra.Command
- func NewRedskyctlCommand(in io.Reader, out, err io.Writer) *cobra.Command
- func NewVersionCommand(ioStreams cmdutil.IOStreams) *cobra.Command
- type DocsOptions
- type VersionOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDefaultCommand ¶
func NewDefaultCommand(cmd func(f util.Factory, ioStreams util.IOStreams) *cobra.Command) *cobra.Command
NewDefaultCommand is used for creating commands from the standard NewXCommand functions
func NewRedskyctlCommand ¶
Types ¶
type DocsOptions ¶
type DocsOptions struct {
Directory string
DocType string
cmdutil.IOStreams
// contains filtered or unexported fields
}
func NewDocsOptions ¶
func NewDocsOptions(ioStreams cmdutil.IOStreams) *DocsOptions
func (*DocsOptions) Run ¶
func (o *DocsOptions) Run() error
type VersionOptions ¶
func NewVersionOptions ¶
func NewVersionOptions(ioStreams cmdutil.IOStreams) *VersionOptions
func (*VersionOptions) Run ¶
func (o *VersionOptions) Run() error