cli

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 7 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Application added in v0.90.0

func Application(id clio.Identification) clio.Application

Application constructs the `syft packages` command and aliases the root command to `syft packages`. It is also responsible for organizing flag usage and injecting the application config for each command. It also constructs the syft attest command and the syft version command. `RunE` is the earliest that the complete application configuration can be loaded.

func Command added in v0.90.0

func Command(id clio.Identification) *cobra.Command

Command returns the root command for the syft CLI application. This is useful for embedding the entire syft CLI into an existing application.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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