{"id":26208182,"url":"https://github.com/douxxtech/doual","last_synced_at":"2025-04-15T11:49:18.271Z","repository":{"id":279644253,"uuid":"939475262","full_name":"douxxtech/doual","owner":"douxxtech","description":"DouAl - Alias management tool for Unix-like systems (MacOS, Linux)","archived":false,"fork":false,"pushed_at":"2025-02-26T15:48:12.000Z","size":5,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T19:44:40.890Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/douxxtech.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-26T15:47:36.000Z","updated_at":"2025-03-11T15:45:40.000Z","dependencies_parsed_at":"2025-02-26T16:56:35.445Z","dependency_job_id":"98ffd60f-84fd-4543-b27a-ff87b5c436a1","html_url":"https://github.com/douxxtech/doual","commit_stats":null,"previous_names":["douxxtech/doual"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/douxxtech%2Fdoual","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/douxxtech%2Fdoual/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/douxxtech%2Fdoual/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/douxxtech%2Fdoual/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/douxxtech","download_url":"https://codeload.github.com/douxxtech/doual/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248564701,"owners_count":21125408,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-03-12T06:19:57.571Z","updated_at":"2025-04-15T11:49:18.242Z","avatar_url":"https://github.com/douxxtech.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🚀 DouAl - Alias Manager\r\n\r\nDouAl is a simple and efficient alias manager that allows you to create, list, and delete aliases for your command line. It works on macOS and most Linux distributions.\r\n\r\n## 📀 Requirements\r\n\r\nTo use DouAl, you need the following:\r\n\r\n**Base Requirements:**\r\n- [Node.js](https://nodejs.org/en)\r\n- [npm](https://www.npmjs.com/package/npm)\r\n\r\n**Packages:**\r\n- [colors](https://www.npmjs.com/package/colors)\r\n- [readline-sync](https://www.npmjs.com/package/readline-sync)\r\n\r\n*Note: All these packages are available on [npmjs.org](https://npmjs.com) and can be installed with the command `npm install \u003cpackage-name\u003e`.*\r\n\r\n## 🖥 Installation\r\n\r\nTo install DouAl, follow these steps:\r\n\r\n1. Ensure you have [Node.js](https://nodejs.org/en) and [npm](https://www.npmjs.com/package/npm) installed on your device.\r\n2. Open a terminal.\r\n3. Install DouAl with npm:\r\n\r\n```bash\r\nnpm install -g DouAl\r\n```\r\n\r\n\r\n## ⚡️ Using DouAl\r\n\r\n### Create an Alias\r\n\r\nYou can create an alias using the following command:\r\n\r\n```bash\r\ndal create \u003cinitial_command\u003e \u003calias\u003e [-a \u003carguments\u003e] [-r \u003ctrue|false\u003e]\r\n```\r\n\r\n**Options:**\r\n- `-a, --args \u003carguments\u003e`: Arguments for the initial command\r\n- `-r, --root \u003ctrue|false\u003e`: Run as root\r\n\r\n**Example:**\r\n\r\n```bash\r\ndal create \"ls -la\" ll -a \"--color=auto\"\r\n```\r\n\r\n### Remove an Alias\r\n\r\nYou can remove an alias using the following command:\r\n\r\n```bash\r\ndal remove \u003calias\u003e\r\n```\r\n\r\n**Example:**\r\n\r\n```bash\r\ndal remove ll\r\n```\r\n\r\n### List All Aliases\r\n\r\nYou can list all aliases using the following command:\r\n\r\n```bash\r\ndal list\r\n```\r\n\r\n### Execute an Alias\r\n\r\nTo execute an alias, simply type the alias name in the terminal:\r\n\r\n```bash\r\n\u003calias\u003e\r\n```\r\n\r\n**Example:**\r\n\r\n```bash\r\nll\r\n```\r\n\r\n## 📝 Example Usage\r\n\r\n### Creating an Alias\r\n\r\n```bash\r\ndal create \"ls -la\" ll -a \"--color=auto\"\r\n```\r\n\r\nOutput:\r\n\r\n```\r\nStarting DouAl.js v1.0.0\r\n[i] Creating or updating alias ll...\r\n[✔] Alias ll added to ~/.zshrc\r\n[✔] Alias ll created or updated successfully.\r\n[i] Please reload your terminal for the changes to take effect.\r\n```\r\n\r\n### Deleting an Alias\r\n\r\n```bash\r\ndal remove ll\r\n```\r\n\r\nOutput:\r\n\r\n```\r\nStarting DouAl.js v1.0.0\r\n[i] Do you want to remove the alias ll? ([Y]/n): y\r\n[i] Removing alias ll...\r\n[✔] Alias ll removed from ~/.zshrc\r\n[✔] Alias ll removed successfully.\r\n[i] Please reload your terminal for the changes to take effect.\r\n```\r\n\r\n### Listing All Aliases\r\n\r\n```bash\r\ndal list\r\n```\r\n\r\nOutput:\r\n\r\n```\r\nStarting DouAl.js v1.0.0\r\nAlias: ll, Command: ls -la, Options: {\"InitialArgs\":\"\",\"RunAsRoot\":false}\r\n```\r\n\r\n## 📝 License\r\n\r\nThis project is licensed under the MIT License.\r\n\r\n---\r\nMade with \u003c3 by douxx","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdouxxtech%2Fdoual","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdouxxtech%2Fdoual","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdouxxtech%2Fdoual/lists"}