Discover Packages
github.com/aaronflorey/mdc
internal
cli
package
Version:
v1.0.1
Opens a new window with list of versions in this module.
Published: Dec 1, 2026
License: MIT
Opens a new window with license information.
Imports: 47
Opens a new window with list of imports.
Imported by: 0 modules, 0 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package cli defines the mdc command tree.
Execute runs the root command and returns its error for the caller to report.
ExitCode extracts the process exit code requested by err.
Register adds a subcommand to the root command. Call it from init.
App gives commands access to the global settings, resolved from flags,
MDC_* environment variables and the optional config file.
BackendOptions returns the compose-level settings for backend.New.
Depth is how many directory levels below the working directory are scanned.
Discover finds the compose projects under the working directory.
Jobs is the maximum number of projects run at once; 0 means all.
CommandFactory builds a subcommand that uses the shared App.
type ExitError struct{ Code int }
ExitError asks the process to exit with a specific code, such as the exit
code of a container, without printing anything further.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.