Metadata-Version: 2.1
Name: submit_tool
Version: 0.2.0
Summary: A simple tool to cache the configuration files of the commands
Author-email: Zesen <zesenwang2@gmail.com>
Project-URL: Homepage, https://github.com/WangZesen/submit-tool
Project-URL: Issues, https://github.com/WangZesen/submit-tool/issues
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE

# A simple CLI tool to faciliate config-based jobs

## Background

When submitting a job that requires queueing (for example, in SLURM), the configure files used in the commands are not used at the moment the job was submitted. Changing the configuration files right after the submission may cause unexpected consequences when the job is really launched (read the wrong configuration files).

The simple tool provided by this extension is to copy detected scripts and configurations in a temporary directories and to redirect the arguments to those in the temporary directories (by default is `~/.submit-tool/<random_str>/`).

## Installation

```bash
pip install submit-tool
```

## Usage

```
submit-tool <original command>
```

## Supported extensions

- `sh`
- `json`
- `yaml`
- `yml`
- `toml`
- `ini`
