cli

module
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2022 License: Apache-2.0

README

aspect-cli

This is the source repository for the Aspect command-line interface for Bazel. Check out our homepage at https://aspect.build

It's currently in pre-release.

Contact us at hello@aspect.dev if you'd like to discuss partnerships.

Pre-commit install

https://pre-commit.com/#installation

Dev Workflow

To make changes to your go files, run the following to fix your dependencies and build files:

bazel run tidy

To run a command using the Bazel managed version of go, use the following pattern:

bazel run go -- followed by your go command

For instance, to view the version of go, you execute the following:

bazel run go -- version

Resolving merge conflicts on go.mod, go.sum and deps.bzl

If you have not made any custom changes to these files but have conflicts in your merge, then you can run:

git fetch origin --prune git checkout origin/main -- go.mod go.sum deps.bzl

bazel run //:tidy

This will fetch go.mod, go.sum and deps.bzl from origin/main and replace your files with them. Then, go tidy and gazelle will be run over these files to update them. After this, you should be able to merge your changes without any conflicts in those files.

Directories

Path Synopsis
bazel
Variables in this file will be replaced by the linker when Bazel is run with --stamp The time should be in format '2018-12-12 12:30:00 UTC' The GitStatus should be either "clean" or "dirty" Release will be a comma-separated string representation of any tags.
Variables in this file will be replaced by the linker when Bazel is run with --stamp The time should be in format '2018-12-12 12:30:00 UTC' The GitStatus should be either "clean" or "dirty" Release will be a comma-separated string representation of any tags.
cmd
docs
help/topics
Package topics contains only generated files.
Package topics contains only generated files.
pkg
aspect/query/shared/mock
Package mock contains generated files.
Package mock contains generated files.
aspectgrpc/mock
Package mock contains generated files.
Package mock contains generated files.
bazel/mock
Package mock contains generated files.
Package mock contains generated files.
bazel/workspace/mock
Package mock contains generated files.
Package mock contains generated files.
osutils/filesystem/mock
Package mock contains generated files.
Package mock contains generated files.
plugin/client/mock
Package mock contains generated files.
Package mock contains generated files.
plugin/loader/mock
Package mock contains generated files.
Package mock contains generated files.
plugin/sdk/v1alpha1/plugin
grpc.go hides all the complexity of doing the gRPC calls between the aspect Core and a Plugin implementation by providing simple abstractions from the point of view of Plugin maintainers.
grpc.go hides all the complexity of doing the gRPC calls between the aspect Core and a Plugin implementation by providing simple abstractions from the point of view of Plugin maintainers.
plugin/sdk/v1alpha2/plugin
grpc.go hides all the complexity of doing the gRPC calls between the aspect Core and a Plugin implementation by providing simple abstractions from the point of view of Plugin maintainers.
grpc.go hides all the complexity of doing the gRPC calls between the aspect Core and a Plugin implementation by providing simple abstractions from the point of view of Plugin maintainers.
plugin/sdk/v1alpha2/plugin/mock
Package mock contains generated files.
Package mock contains generated files.
plugin/sdk/v1alpha3/plugin
grpc.go hides all the complexity of doing the gRPC calls between the aspect Core and a Plugin implementation by providing simple abstractions from the point of view of Plugin maintainers.
grpc.go hides all the complexity of doing the gRPC calls between the aspect Core and a Plugin implementation by providing simple abstractions from the point of view of Plugin maintainers.
plugin/sdk/v1alpha3/plugin/mock
Package mock contains generated files.
Package mock contains generated files.
plugin/system/bep/mock
Package mock contains generated files.
Package mock contains generated files.
plugin/system/mock
Package mock contains generated files.
Package mock contains generated files.
stdlib/mock
Package mock contains generated files.
Package mock contains generated files.

Jump to

Keyboard shortcuts

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