#wait-for #updater #eto

app eto-cli

A small updater's CLI tool

3 releases

0.2.2 Dec 22, 2022
0.2.1 Dec 22, 2022
0.2.0 Dec 21, 2022

#494 in Configuration

27 downloads per month

MIT/Apache

24KB
441 lines

eto -- bleh!

A small updater.

bleh

Installation

For Windows, pre-built binaries are provided in the GitHub releases section.

If you are on another system, or want to build eto from scratch, you can install the eto command line tool using cargo. The best way to get cargo is using rustup.

cargo install --release

Usage

To make sure the old and new directories are correct, you need to create an eto.json file, that contains some metadata.

{
  "version": "1.0",
  "ignore": []
}

version will be checked by the updater when applying a package. Files matching glob patterns in ignore will be ignored when scanning the state of a directory.

Creating a Package

eto package -a ./my-old-dir -b ./my-new-dir -o ./package.etopack

Applying a Package

If you are an end-user of software that uses eto, check its documentation for applying packages, as this can differ depending on the setup.

If you are a developer, check the help documentation for the eto patch subcommand. You may want to provide a batch script to your users for doing this automatically, as most users are not comfortable using the command line. You can also apply a patch programmatically using the eto library, or call eto patch from your software, and have it wait for your software to close and restart it afterwards.

License

Licensed under either of

at your option.

Dependencies

~12–25MB
~343K SLoC