Metadata-Version: 2.4
Name: tempfiles_cmdline
Version: 2.0.0
Summary: Tempfil.es ephemeral/anonymous file sharing service command line tool
Author-email: Marco Antonio Albero Albero <marco@mybi.es>
License-Expression: Apache-2.0
Project-URL: Homepage, https://tempfil.es
Keywords: ephemeral file sharing,anonymous file sharing,devops,sysadmin
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: System Administrators
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests>=2.31.0
Requires-Dist: requests-toolbelt>=1.0.0
Requires-Dist: click>=8.0
Dynamic: license-file

# Tempfil.es command line tool

This tool is intended to provide command line access to the ephemeral/anonymous file sharing service [Tempfil.es].

## Installation

```bash
pip install tempfiles_cmdline
```

Or install from source:

```bash
pip install -e .
```

## Usage

```
tempfiles -u file_path       upload mode
tempfiles -d URL [DEST]      download mode
tempfiles -v                 show version
```

### Examples

Upload a file:
```bash
$ tempfiles -u ~/myfile.zip
Uploading myfile.zip to https://tempfil.es
[{'download_link': 'https://tempfil.es/filedownload/link.cZIByw'}]
```

Download a file:
```bash
$ tempfiles -d https://tempfil.es/filedownload/link.cZIByw
Download of "myfile.zip" complete!
```

[Tempfil.es]: https://tempfil.es
