This is a project that mainly concerns web developers\' areas of interest. While creating a project developers face the problem of scaffolding and especially doing it the right way is another major task that needs to be accomplished. It is a NodeJS-based project through which a fresh project structure can be created with the help of the Command Line Interface. Setting up a new project may require setting up various folders which might get hectic hence this project is a perfect solution as it performs scaffolding with the help of a few CLI commands.
The project focuses on making the project structuring part easier with the help of CLI (Command Line Interface) commands. The project can be used in any operating system. The machine needs to have Node.JS installed on the device.
OS independent, Node.js is the only required dependency.
User friendly with features like autocomplete, auto-suggestions and auto-updates.
This CLI tool aims to make development workflows and developer experience better when a developer starts on a new Web project. Leveraging development workflow with the latest tools and modular technologies is the prime focus of **Webscaf** and we can achieve it. While modern frameworks and libraries provide a way to set up their projects they were never efficient to measure a developer's need. To keep remerging such points we start this project which revolves around a methodology of:
Provide a single tool to rule them all i.e., the developer should be able to handle primary tasks with one tool itself.
Automate things as much as possible.
Provide a UI/UX which can keep developers productive.
Above mentioned points just dictate our motivation and values which we want to drive in the project. With such technologies, our goal will be to provide such productivity tools and techniques to developers and that's why we made this project open-source so that community can pitch their ideas, contribute and make developers' life easy.
IV. CLI USAGE
By keeping simplicity in mind CLI commands are defined in such a way so that a user can keep them in mind easily.
When the user wants to generate a project’s scaffold
The above commands will generate a WordPress theme in FSE and classic themes format.
2. When the user wants to check the CLI version
3 When the user wants to see all available commands or the CLI help section
4. Enable CLI autocomplete
5. To see the list of available plugins in CLI
6. To update the CLI
From bullet points, 2 to 6 all commands fall under the utility commands which help the user to configure the CLI for best use cases. As shown in (1) webscaf generate is the entry point to create scaffolds.
V. SCOPE AND ADVANTAGES
Webscaf aim is to improve the development workflow so that developers can focus on the main tasks instead of setting up everything from scratch.
With the use of webscaf, the project setup has become much easier for developers. The time taken by webscaf to execute the tasks through the commands depends upon the configuration of the project. As of now after performing various rounds of performance testing, it has been concluded that scaffolding with the help of webscaf does not take time more than a minute. However, the time taken for setting up the project is highly dependent on the project configuration.