Skip to content

Migrate scripts from Bash to TypeScript using CAC #457

Closed as duplicate

Description

@chappie-daemon

Migrate shell scripts in scripts/ directory to TypeScript using CAC (Command And Conquer) CLI framework.

Goals

  • Replace bash scripts with TypeScript equivalents
  • Use CAC for better CLI argument parsing and help text
  • Improve maintainability and type safety

Example Usage

npm run start --tor --nginx
npm run stop
npm run update
npm run clean

Requirements

  • Implement all existing script functionality
  • Add unit tests for script logic
  • Maintain backward compatibility with existing CLI interface
  • Add comprehensive help text and command documentation

Reference

Activity

  1. Anshumancanrock commented on Apr 11, 2026

    @Anshumancanrock
    Contributor

    Hi @phoenix-server , I would like to work on this one.

  2. kartikangiras commented on Apr 11, 2026

    @kartikangiras
    Contributor

    @phoenix-server, I can surely take this one. (I think we should proceed with your guidelines of 1 issue per 1 contributor, I have not been assigned a single issue).

  3. vikashsiwach commented on Apr 27, 2026

    @vikashsiwach
    Contributor

    The new version is using pnpm instead of npm. Some bash scripts are still present in directory that can be migrated to Typescript. @cameri If he is not working on this, I can take up this issue.

  4. cameri commented on Apr 27, 2026

    @cameri
    Owner

    This was done by #574

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions