Coder Social home page Coder Social logo

Comments (7)

impaler avatar impaler commented on June 8, 2024

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.

Gama11 avatar Gama11 commented on June 8, 2024

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.

impaler avatar impaler commented on June 8, 2024

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.

Gama11 avatar Gama11 commented on June 8, 2024

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.

impaler avatar impaler commented on June 8, 2024

This looks like a windows path issue, after my last commit its working in my windows vm, can you retest?

from flixel-tools.

Gama11 avatar Gama11 commented on June 8, 2024

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.

impaler avatar impaler commented on June 8, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.