cmd

package
v0.1.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

------------------------------------------------------------------------ SPDX-FileCopyrightText: Copyright © 2024 bomctl authors SPDX-FileName: cmd/fetch.go SPDX-FileType: SOURCE SPDX-License-Identifier: Apache-2.0 ------------------------------------------------------------------------ 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. ------------------------------------------------------------------------

------------------------------------------------------------------------ SPDX-FileCopyrightText: Copyright © 2024 bomctl authors SPDX-FileName: cmd/options.go SPDX-FileType: SOURCE SPDX-License-Identifier: Apache-2.0 ------------------------------------------------------------------------ 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. ------------------------------------------------------------------------

------------------------------------------------------------------------ SPDX-FileCopyrightText: Copyright © 2024 bomctl authors SPDX-FileName: cmd/root.go SPDX-FileType: SOURCE SPDX-License-Identifier: Apache-2.0 ------------------------------------------------------------------------ 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. ------------------------------------------------------------------------

------------------------------------------------------------------------ SPDX-FileCopyrightText: Copyright © 2024 bomctl authors SPDX-FileName: cmd/version.go SPDX-FileType: SOURCE SPDX-License-Identifier: Apache-2.0 ------------------------------------------------------------------------ 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

Constants

This section is empty.

Variables

View Source
var (
	// BuildDate is the date and time this binary was built.
	BuildDate string

	// VersionMajor is for breaking API changes.
	VersionMajor string

	// VersionMinor is for functionality in a backwards-compatible manner.
	VersionMinor string

	// VersionPatch is for backwards-compatible bug fixes.
	VersionPatch string

	// VersionPre indicates prerelease branch.
	VersionPre string

	// Version is the specification version that the package types support.
	Version = fmt.Sprintf("v%s.%s.%s%s (built on %s)",
		VersionMajor,
		VersionMinor,
		VersionPatch,
		VersionPre,
		BuildDate,
	)
)

Functions

func Execute

func Execute()

Types

type DirectorySliceValue

type DirectorySliceValue []string

func (*DirectorySliceValue) Set

func (dsv *DirectorySliceValue) Set(value string) error

func (*DirectorySliceValue) String

func (dsv *DirectorySliceValue) String() string

func (*DirectorySliceValue) Type

func (dsv *DirectorySliceValue) Type() string

type DirectoryValue

type DirectoryValue string

func (*DirectoryValue) Set

func (dv *DirectoryValue) Set(value string) error

func (*DirectoryValue) String

func (dv *DirectoryValue) String() string

func (*DirectoryValue) Type

func (dv *DirectoryValue) Type() string

type ExistingFileValue

type ExistingFileValue string

func (*ExistingFileValue) Set

func (efv *ExistingFileValue) Set(value string) error

func (*ExistingFileValue) String

func (efv *ExistingFileValue) String() string

func (*ExistingFileValue) Type

func (efv *ExistingFileValue) Type() string

type FileSliceValue

type FileSliceValue []string

func (*FileSliceValue) Set

func (fsv *FileSliceValue) Set(value string) error

func (*FileSliceValue) String

func (fsv *FileSliceValue) String() string

func (*FileSliceValue) Type

func (fsv *FileSliceValue) Type() string

type OutputFileValue

type OutputFileValue string

func (*OutputFileValue) Set

func (ofv *OutputFileValue) Set(value string) error

func (*OutputFileValue) String

func (ofv *OutputFileValue) String() string

func (*OutputFileValue) Type

func (ofv *OutputFileValue) Type() string

type URLSliceValue

type URLSliceValue []string

func (*URLSliceValue) Set

func (usv *URLSliceValue) Set(value string) error

func (*URLSliceValue) String

func (usv *URLSliceValue) String() string

func (*URLSliceValue) Type

func (usv *URLSliceValue) Type() string

type URLValue

type URLValue string

func (*URLValue) Set

func (uv *URLValue) Set(value string) error

func (*URLValue) String

func (uv *URLValue) String() string

func (*URLValue) Type

func (uv *URLValue) Type() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL