Built-in contexts
Capsula provides several built-in contexts that you can capture. The following is a list of built-in contexts:
CommandContext
- Captures the output of shell commands.CpuContext
- Captures the CPU information.CwdContext
- Captures the current working directory.EnvVarContext
- Captures the environment variables.FileContext
- Captures the file information.FunctionContext
- Captures the arguments of a function.GitRepositoryContext
- Captures the Git repository information.PlatformContext
- Captures the Python version.