- Add
?
help option to interactive prompt.
- Fix potential panic in
medic outdated
. - Add
--interactive
flag.
- Exclude variables that include
{}
characters when interpolating the manifest path.
- Reset cursor when interrupting commands with Ctrl-C.
- Add
env
configuration to checks, steps, and shell steps.
- Disable cursor when running steps or checks.
- Checks and shell steps include the
cd
option in remedies.
- Update deps.
- steps can be configured with
cd
to change directory.
medic run
accepts a--cd
option.- checks and shells actions can be configured via
cd
to change directories before running their commands.
medic init
can--force
overwrite the config file.- Include outdated in
medic init
- Show STDERR from outdated checks in progress bar.
- Error handling when parsing outdated STDOUT.
- Checks and steps verify that their commands exist in PATH before running them.
- Catch more possible errors instead of panicking. Where panics may
still be the best approach, prefer
expect
in place ofunwrap
.
- Adds
medic outdated
. - Attempt to return error rather than panicking when unable to find the current working directory.
- Headers for sub-commands are printed to stderr, respecting changes to terminal width.
- Allow shell commands to run with
inline = true
to disable progress bars and inherit stdio directly from the parent medic process. - Add
medic run
for executing arbitrary shell commands with consistent formatting, progress spinners. - Use spinners for progress indicators for checks and steps.
- Medic output uses spinners to track progress. Scripts that wrapped medic may not work with the new CLI output.
- Checks can specify arguments as a list.
- Steps can specify arguments as a list.
- Add
medic init
to generate an almost empty manifest file. - Fix
--config
description in medic help.
- Medic config file defaults to
${PWD}/.config/medic.toml
- Extract all but core medic to external projects.
- Shell steps may include remedies.
- Split out rust check/step to separate project.
medic doctor
can run steps and shell steps.medic test
,medic update
can run checks.- Checks/steps print
key: value
when running. - Checks print output (include error description) prior to printing errors.
- Split
medic-src
(internal) frommedic-lib
(helpers for writing checks/steps in Rust) and releasemedic-lib
.
- Run shell actions via
sh -c "command"
to allow for shell expansion.
- Steps and shell actions inherit STDIN from the parent shell.
- Add
output
config to checks. Defaults tojson
. - Expand all ENV variables from parent shell when finding manifest files.