Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vanillaiice/vext
Program to add, replace, or remove file extensions.
https://github.com/vanillaiice/vext
file-manipulation files v vlang
Last synced: 5 days ago
JSON representation
Program to add, replace, or remove file extensions.
- Host: GitHub
- URL: https://github.com/vanillaiice/vext
- Owner: vanillaiice
- License: bsd-3-clause
- Created: 2023-08-02T19:25:03.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-12-01T17:59:51.000Z (about 1 year ago)
- Last Synced: 2024-12-07T14:06:06.651Z (2 months ago)
- Topics: file-manipulation, files, v, vlang
- Language: V
- Homepage:
- Size: 9.77 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# vext
A program to add, replace, or remove file extensions.
## Usage
```
> ls
// output:
// foo
> vext --add --file foo --extension txt
> ls
// output:
// foo.txt
> vext --replace --file foo.txt --extension v
> ls
// output:
// foo.v
> vext --remove --file foo.v
> ls
// output:
// foo
```## Arguments
### ```--file``` or ```-f```
Path to the file(s) on which the extension will be manipulated. This argument **must** be enclosed in quotes if there are multiple files.
### ```--action``` or ```-a```
Action to do on the file. Options for this argument include 'add', 'remove', and 'replace'.
### ```--extension``` or ```-e```
The extension to add or replace to the file(s).
## Installation
```
> git clone https://github.com/vanillaiice/v-ext
> cd v-ext
> v .
// or
> make
```## Development dependencies
- v
- make (optional)
- MinGW-w64 (optional, for windows cross compilation)## Licence
BSD-3-Clause
## Author
Vanillaiice