Expand description
§agpm
This is an executable complete implementation of an amisgitpm
project manager. It uses the pieces from:
It admits the following commands
Usage: agpm <COMMAND>
Command | Description |
---|---|
install | Install a new git repo. It installs from URLs of two kinds |
update | Update project(s) |
update-suggestions | Update the suggestions, downloading all of them, and substituting those already present |
uninstall | Uninstall a project |
restore | Get the last version of the project |
reinstall | Uninstall then install a project |
rebuild | Run the build instructions of a project |
clean | Remove all srcs with no project associated |
edit | Edit the configuration of a project |
list | Show the list of installed applications and their version |
bootstrap | Install amisgitpm with amisgitpm, check that everything is in place |
help | Print this message or the help of the given subcommand(s) |
-h, –help | Print help information |
-V, –version | Print version information |
A good way to interact with this package manager programatically is to use the types provided in the library part of this crate
Modules§
- args
- This module deals with the arguments for amisgitpm.
- prelude
- A module with all the important traits that will be needed to use the above public types
Structs§
- Dirs
- An implementor for the
Directories
trait - Project
agpm
’s Project structure. It has one extra field. Theupdate_policy
stores information that determines behavior when interactively trying to update.
Enums§
- Update
Policy - What to do when updating a project
Type Aliases§
- Interacts
- The interactor thats used coordinating the
Interactor
and theDirs
structures. - Project
Manager - The manager thats created from the
Project
, theDirs
structure and theProjectStore
andInteracts
types - Project
Store - The store thats created using the
Store
,Project, and the
Dirs` structures