Comments (7)
Thanks for the testing, these were easily fixed. You have to run flixel download
to get the templates in your haxelib.
The template command or you can also use tm can be used like this;
flixel tm -n Test -w 900 -h 600
or whatever options you have in the template.json https://github.com/HaxeFlixel/flixel-templates/blob/master/default/template.json
Also you can now use -fd -subl or -idea
for an ide choice in the same command to override your settings json.
It still needs more work before a release, but I am mostly happy with the way the template command is now.
from flixel-tools.
Still having issues with this. This is what I get now:
Error: Error getting the template with the name of make sure you have run the 'flixel download' command.
Also, it should work fine if you cloned the flixel-templates repo youreslf via haxelib git, right? Either way, I deleted it and ran flixel download
again, no difference whatsoever.
from flixel-tools.
Did you try the command I gave as an example, what did you type exactly?
"-name" as an option has been depreciated, although we could add it again to the https://github.com/HaxeFlixel/flixel-templates/blob/master/default/template.json So you maybe asking it for a template called -name which doesn't exist.
This is all undocumented for now. Its working as designed on my end but will be testing it from scratch on linux and windows shortly.
from flixel-tools.
I copy-pasted flixel tm -n Test -w 900 -h 600
.
Why is -name
gone? Everything is using shortcuts now, like -n
or -w
? That doesn't seem like a good idea to me. You should have both options.
from flixel-tools.
This looks like a windows path issue, after my last commit its working in my windows vm, can you retest?
from flixel-tools.
The template command seems to be working fine now! :) However, the folder containing the template isn't renamed, which means it will always be called default
:/.
from flixel-tools.
I haven't documented it yet right now it works like;
flixel template <templatename> <foldername> -options
Also I made a shortcut to give it a custom name;
flixel template ./CustomFolder -options
This will also use default but you dont have to use the name "./" is all thats needed.
from flixel-tools.
Related Issues (20)
- flixel tpl and flixel create fail with misleading error in directories that require admin rights HOT 1
- testdemos: only display stderr / stdout output of builds on failure HOT 1
- testdemos seems to fail when the tools are compiled with haxe 3.2.0
- create: don't copy the export folder
- template -fdz option HOT 1
- template: "delete directory" fails with std@sys_remove_dir if in use
- Make sure the default IDE setting is backwards compatible
- Change ide options to -ide <subl|fd|idea|none>
- Sublime Text symlink in setup broken on Mac HOT 5
- cannot run template from fixel-tools HOT 2
- Tools installation fails on OS X El Capitan HOT 6
- Setup error under Linux Mint Haxe 3.2.1. HOT 13
- redundant files in haxelib release
- Setup error when haxelib not in default directory: Ubuntu and Archlinux HOT 2
- Add a flixel command to set the correct version of lime+openfl based on the flixel version HOT 5
- Unable to create new projects HOT 1
- Library flixel-tools version 1.4.4 does not have a run script HOT 2
- Run lime setup not functioning HOT 2
- Flixel Tools not setting up properly HOT 4
- Template cmd does not allow to use custom path to template
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flixel-tools.