Skip to content

Interactive CLI Tool for Project Scaffolding Tool and Web Application for Code Snippet Manager with Contextual Search

License

Notifications You must be signed in to change notification settings

debarshee2004/scaffoldgen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description of Image

An Open Sourced CLI tool designed for developers to quickly scaffold (generate and add boilerplate code) directly to files or a directories using terminal prompts. It also includes a Code Snippet Management tool with Contextual Search, making it easy to organize and retrieve your code snippets.


Visitors GitHub forks GitHub Repo stars GitHub contributors GitHub repo size Github
GitHub last commit GitHub issues GitHub closed issues GitHub pull requests GitHub closed pull requests


How to use this tool?

Let's start with an empty repository with no file. In this demo we will write a command to write MongoDB database connection in JavaScript using Mongoose (which is a predefined example in the library).

~ scaffoldgen -scaf mongoose/mongodb-connect -path connection.js
Or in short
~ sfgen --s mongoose/mongodb-connect --p connection.js

it will generate the code in the connection.js file in the current working directory.

Basic syntax which is followed while scaffolding code into a file:

~ scaffoldgen -scaf {name_of_the_snippet} -path {file_name}

Basic syntax which is followed while scaffolding code into a directory (by adding the -dir flag):

~ scaffoldgen -dir -scaf {name_of_the_snippet} -path {folder_name}

Why even use a tool like this?

This CLI tool is directly targeted at developers who often have to write the same code repeatedly. This tool will not only help developers maintain code snippets but also allow them to use these snippets easily via the terminal, increasing productivity and eliminating the need to write tedious boilerplate code every time. But we can keep the code snippets on GitHub. Just because you can doesn't mean you should. GitHub was never intended to be used that way, and this tool completely removes the hassle of trying to remember which repository contains the code I need to use.

For more information about the features of the application refer to features-guide.md file. Here you can see all the existing features, worked on features and planed features for this application. You can submit your feature idea using issues via the Feature request template.

Installation

Currently this application under development, bulding and testing for Linux. So there is no active release, but you can build from source instruction is given in setup-guide.md file. First release is scheduled on March 2025 (if everything goes as planed). Then information on how to install the tool for use will be given in the website on in installation.mdx, from where you can get the full instruction on how to download the application.

Releases

Currently this application under development, bulding and testing for Linux. So there is no active release, but you can build from source instruction is given in setup-guide.md file. First release is scheduled on February 2025 (if everything goes as planed). Then information about the releases of the application will be provided in releases.md file.

Contribution Guidelines

If you are interested to contribute to ScaffoldGen Project, be sure to review the contribution guidelines, this will tell you certain methods and practices which are followed while contributing to this project. Then follow the process to setup the project locally or in a cloud by refering to setup-guide.md. If you are a participant of Hacktoberfest or Apertre do checkout their contributing guidelines, which are being followed in this project for those specific cases.

GitHub issues are used tracking and managing and tracking requests, bugs and features. Check out the Discussions, or our Discord Channel section of this repository for general questions and answers.

The ScaffoldGen project strives to abide by generally accepted best practices in open-source software development.

Team

This project is maintained by members of Resourcio Community, Soumyajit Mondal the founder, Debarshee Chakraborty member of the Technical Team, Abhraneel Karmakar member of Design Team, and Sayan Mallick community advisor. You can connect with everyone in this project via GitHub and Discord.

License

This project is subjected to Apache Licence 2.0.

About

Interactive CLI Tool for Project Scaffolding Tool and Web Application for Code Snippet Manager with Contextual Search

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published