Documentation ¶
Overview ¶
Copyright 2022 Molecula Corp. (DBA FeatureBase). SPDX-License-Identifier: Apache-2.0
Copyright 2022 Molecula Corp. (DBA FeatureBase). SPDX-License-Identifier: Apache-2.0
Copyright 2022 Molecula Corp. All rights reserved.
Copyright 2022 Molecula Corp. (DBA FeatureBase). SPDX-License-Identifier: Apache-2.0
Copyright 2021 Molecula Corp. All rights reserved.
Copyright 2022 Molecula Corp. (DBA FeatureBase). SPDX-License-Identifier: Apache-2.0
Copyright 2021 Molecula Corp. All rights reserved.
Copyright 2021 Molecula Corp. All rights reserved.
Copyright 2022 Molecula Corp. (DBA FeatureBase). SPDX-License-Identifier: Apache-2.0
Package cmd contains all the pilosa subcommand definitions (1 per file).
Each command file has an init function and a New*Cmd function, as well as a global exported instance of the command.
The New*Cmd function is a function which returns a cobra.Command object wrapping this subcommand.
The init function adds the New*Cmd to a map of subcommand functions which ensures that no two commands have the same name, and is used when a new root command is created to instantiate all of the subcommands.
The instance of the command is global and exported so that it can be tested.
Copyright 2022 Molecula Corp. (DBA FeatureBase). SPDX-License-Identifier: Apache-2.0
Copyright 2022 Molecula Corp. (DBA FeatureBase). SPDX-License-Identifier: Apache-2.0
Copyright 2022 Molecula Corp. (DBA FeatureBase). SPDX-License-Identifier: Apache-2.0
Copyright 2022 Molecula Corp. (DBA FeatureBase). SPDX-License-Identifier: Apache-2.0
Copyright 2022 Molecula Corp. (DBA FeatureBase). SPDX-License-Identifier: Apache-2.0
Copyright 2021 Molecula Corp. All rights reserved.
Copyright 2022 Molecula Corp. (DBA FeatureBase). SPDX-License-Identifier: Apache-2.0
Copyright 2022 Molecula Corp. (DBA FeatureBase). SPDX-License-Identifier: Apache-2.0
Copyright 2022 Molecula Corp. All rights reserved.
Copyright 2022 Molecula Corp. (DBA FeatureBase). SPDX-License-Identifier: Apache-2.0
Copyright 2022 Molecula Corp. (DBA FeatureBase). SPDX-License-Identifier: Apache-2.0
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Exporter *ctl.ExportCommand
var Importer *ctl.ImportCommand
var Server *server.Command
Server is global so that tests can control and verify it.
Functions ¶
func NewCLICommand ¶ added in v3.33.0
NewCLICommand runs the FeatureBase CLI subcommand.
Types ¶
type DecimalFlagValue ¶
type DecimalFlagValue struct {
// contains filtered or unexported fields
}
DecimalFlagValue is used to set the unexported value field in a decimal. It also fulfills the flag.Value interface.
func (*DecimalFlagValue) Set ¶
func (dfv *DecimalFlagValue) Set(s string) error
func (*DecimalFlagValue) String ¶
func (dfv *DecimalFlagValue) String() string
func (*DecimalFlagValue) Type ¶
func (dfv *DecimalFlagValue) Type() string