fracadot

1.3.0 • Public • Published

C# Code Executor Script

Introduction

This Node.js script automates the execution of C# projects. It allows for the creation of new C# console projects, automatically opens them in the default editor, and watches a directory for changes in any C# files to run them instantly.

Requirements

  • Node.js
  • .NET SDK
  • Appropriate environment setup for C# development

Installation

Clone the repository or download the script. Ensure all requirements are installed on your system. npm i -g fracadot@latest (use sudo if you incur in permission problems)

Usage

Run the script with Node.js. The script accepts several command-line arguments:

  • -d, --dir <dir>: Specify the directory of the project to execute.
  • -n, --name <nome>: Name of the new project to create.
  • -o, --output <directory>: Directory to save the new project.

Example:

node script.js --name MyNewProject --output ./myProjects

Features

  • Project Creation: Automatically creates new C# console projects.
  • File Watching: Monitors C# files for changes and executes them.
  • Auto-Execution: Runs C# code upon detection of file modifications.

Troubleshooting

If you encounter issues, ensure all dependencies are correctly installed and paths are correctly set in the script.

License

MIT License

Readme

Keywords

Package Sidebar

Install

npm i fracadot

Weekly Downloads

1

Version

1.3.0

License

MIT

Unpacked Size

5.54 kB

Total Files

3

Last publish

Collaborators

  • fraca