Commandalarm

Latest version: v0.2.8

Safety actively analyzes 681775 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.2.8

Changed
- Updated the description for the --no-check option.

Removed
- Removed the minimum number of seconds being set to 1 in the set_alarm function.
- Removed int and round calls in the set_alarm function.

0.2.7

Changed
- Changed to only use threading.Timer.
- Checking parameters in the function set_alarm.
- Updated the description for the option day.
- Updated the description for the option repeat.

0.2.6

Changed
- Split the command argument into two (command and argument).
- Specified the program name in argparse.ArgumentParser.

Removed
- Removed call to signal.alarm on KeyboardInterrupt.

0.2.5

Changed
- Changed so that the program can work in Windows that lacks SIGALRM (untested).
- The program exits with an appropriate error code depending on the error.
- Interpreting command-line arguments in own function.
- Strip whitespace from the output of the command run.
- Updated description for option shell.

Removed
- Removed encoding declarations.
- Removed the function validate_weekday as it was not needed.

0.2.4

Added
- Option shell.
- Option no-check.
- Option timeout.

Changed
- Error messages are printed to stderr.
- Exit with error code 1 when the user aborts with Ctrl-C.
- Updated the code to be PEP8 compliant.

0.1.0

Initial release

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.