Skip to content

Commit

Permalink
converted to c
Browse files Browse the repository at this point in the history
  • Loading branch information
dooobii committed Nov 6, 2023
1 parent a84b29b commit 9c1e976
Show file tree
Hide file tree
Showing 6 changed files with 207 additions and 514 deletions.
262 changes: 0 additions & 262 deletions Cargo.lock

This file was deleted.

15 changes: 0 additions & 15 deletions Cargo.toml

This file was deleted.

12 changes: 4 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@

# Alias Manager

Alias Manager is a simple command-line tool written in rust for managing aliases in your shell. It supports adding, listing and removing aliases in your shell
Alias Manager is a simple command-line tool written in C for managing aliases in your shell. It supports adding, listing and removing aliases in your shell

## Features

- Add new aliases with custom commands
- List existing aliases
- Remove aliases by name

## Requirements

- Rust programming language (https://www.rust-lang.org/)
- Cargo package manager (usually bundled with Rust)

## Installation

Expand Down Expand Up @@ -40,7 +36,7 @@ Alias Manager provides several subcommands for managing aliases. Here's a summar


```sh
aliasmanager [SUBCOMMAND] [OPTIONS] [ARGS]
aliasmanager [SUBCOMMAND] [ARGS]
```


Expand All @@ -50,7 +46,7 @@ aliasmanager [SUBCOMMAND] [OPTIONS] [ARGS]


```sh
aliasmanager add -n <ALIAS_NAME> -c <COMMAND>
aliasmanager add <ALIAS_NAME> <COMMAND>
```


Expand All @@ -64,7 +60,7 @@ aliasmanager ls
- `rm`: Remove an alias by name.

```sh
aliasmanager rm -n <ALIAS_NAME>
aliasmanager rm <ALIAS_NAME>
```
### Example

Expand Down
Loading

0 comments on commit 9c1e976

Please sign in to comment.