# only works on linux, see comment above about ENTE_CLI_SECRETS_PATH on darwin
tests.version=lib.optionalAttrsstdenv.isLinux(
testers.testVersion{
package=ente-cli;
command=''
env ENTE_CLI_CONFIG_PATH=$TMP \
ENTE_CLI_SECRETS_PATH=$TMP/secrets \
ente version
'';
version="Version cli-v${ente-cli.version}";
}
);
updateScript=nix-update-script{
extraArgs=[
"--version-regex"
"cli-(.+)"
];
};
};
meta={
description="CLI client for downloading your data from Ente";
longDescription=''
The Ente CLI is a Command Line Utility for exporting data from Ente. It also does a few more things, for example, you can use it to decrypting the export from Ente Auth.