Documentation ¶
Overview ¶
Package grit is a CLI tool (and accompanying agent daemon) for keeping track of (and quickly switching between) many local clones of remote source repositories.
Directories ¶
Path | Synopsis |
---|---|
Package api contains the definition for the gRPC services that the CLI uses to communicate with the daemon.
|
Package api contains the definition for the gRPC services that the CLI uses to communicate with the daemon. |
Package cli is the entry-point for the Grit CLI executable.
|
Package cli is the entry-point for the Grit CLI executable. |
internal/apitea
Package apitea contains bubbletea messages and commands for integrating bubbletea programs with the Grit API.
|
Package apitea contains bubbletea messages and commands for integrating bubbletea programs with the Grit API. |
internal/commands
Package commands contains the root CLI command.
|
Package commands contains the root CLI command. |
internal/commands/clone
Package clone contains the implementation of the "clone" command.
|
Package clone contains the implementation of the "clone" command. |
internal/commands/setupshell
Package setupshell contains the implementation of the "setup-shell" command.
|
Package setupshell contains the implementation of the "setup-shell" command. |
internal/commands/source
Package source contains the implementation of the "source" command.
|
Package source contains the implementation of the "source" command. |
internal/commands/source/list
Package list contains the implementation of the "source list" command.
|
Package list contains the implementation of the "source list" command. |
internal/commands/source/signin
Package signin contains the implementation of the "source sign-in" command.
|
Package signin contains the implementation of the "source sign-in" command. |
internal/commands/source/signout
Package signout contains the implementation of the "source sign-out" command.
|
Package signout contains the implementation of the "source sign-out" command. |
internal/commands/version
Package version contains the implementation of the "version" command.
|
Package version contains the implementation of the "version" command. |
internal/completion
Package completion contains utilities for implementing shell auto-completion.
|
Package completion contains utilities for implementing shell auto-completion. |
internal/flags
Package flags configures and reads global ("persistent") flags and flags that are used by multiple commands.
|
Package flags configures and reads global ("persistent") flags and flags that are used by multiple commands. |
internal/render
Package render contains utilities for formatting values for display.
|
Package render contains utilities for formatting values for display. |
internal/shell
Package shell provides an abstraction used to execute shell commands within the context of the CLI's parent shell.
|
Package shell provides an abstraction used to execute shell commands within the context of the CLI's parent shell. |
cmd
|
|
grit
Package main is the CLI executable.
|
Package main is the CLI executable. |
gritd
Package main is the daemon executable.
|
Package main is the daemon executable. |
Package daemon is the entry-point for the Grit daemon executable.
|
Package daemon is the entry-point for the Grit daemon executable. |
internal/apiserver
Package apiserver contains the implementations of the gRPC services provided by the daemon.
|
Package apiserver contains the implementations of the gRPC services provided by the daemon. |
internal/builtins/githubsource
Package githubsource is a source driver that integrates Grit with GitHub.
|
Package githubsource is a source driver that integrates Grit with GitHub. |
internal/builtins/gitvcs
Package gitvcs is a VCS driver that integrates Grit with Git.
|
Package gitvcs is a VCS driver that integrates Grit with Git. |
internal/config
Package config parses, validates and normalizes configuration files.
|
Package config parses, validates and normalizes configuration files. |
internal/driver/configtest
Package configtest provides utililities to help driver developers test their integration with Grit's configuration system.
|
Package configtest provides utililities to help driver developers test their integration with Grit's configuration system. |
internal/driver/sourcedriver
Package sourcedriver defines the API used to implement source drivers.
|
Package sourcedriver defines the API used to implement source drivers. |
internal/driver/vcsdriver
Package vcsdriver defines the API used to implement VCS (version control system) drivers.
|
Package vcsdriver defines the API used to implement VCS (version control system) drivers. |
internal/logs
Package logs provides a simple logging interface.
|
Package logs provides a simple logging interface. |
internal/signalx
Package signalx provides utilities for working with signals.
|
Package signalx provides utilities for working with signals. |
internal/source
Package source provides an abstraction of a "repository source" which is any service that hosts source repositories that can be searched and cloned by Grit.
|
Package source provides an abstraction of a "repository source" which is any service that hosts source repositories that can be searched and cloned by Grit. |
Click to show internal directories.
Click to hide internal directories.