Ahh, okay! It seems like the most useful thing. Any reason why doing something like cell --new wouldn't be sufficient? I guess you'll be going all out with what it can do?
As long as in the end you can do
majin projectname and it will (or optionally won't) ask you a few basic questions about the project, I'm happy. Heck, I'm happy that running cell is a matter of just... running
cell.
In the meantime, I'm writing a whole new "Getting Started" article for the wiki and just linking to a basic template project. Would this Cell.mjs work?
/* Basic game template */
import { transpile } from 'compiler';
//In the future, this line will change into:
//Object.assign(Sphere.Game, {
describe("Game Name", {
version: 2,
saveID: 'unique-identifier-for-saving-the-game',
author: "Your name here",
summary: "Summary of the game",
resolution: '1280x720',
main: 'src/main.js',
logPath: '~/log.txt',
othervariables: 'any value you would like',
});
transpile('@/scripts/', files('src/*.mjs'));
transpile('@/scripts/', files('src/*.js'));
install('@/images', files('images/*.*', true));
install('@/music', files('music/*.*', true));
install('@/spritesets', files('spritesets/*.rss', true));
install('@/sounds', files('sounds/*.*', true));
install('@/maps', files('maps/*.rmp', true));
install('@/maps', files('maps/*.rts', true));
install('@/windowstyles',files('windowstyles/*.rws', true));
install('@/', files('icon.png'));
install('@/', files('README.txt'));
edit (fatcerberus): Add JavaScript formatting and remove extra curly braces from code