cli

package
v0.97.0 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2023 License: Apache-2.0 Imports: 12 Imported by: 4

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, aliases the root command to `syft packages`, and constructs the `syft power-user` command. 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