Skip to content

Updates to flx.py. #42

@FlixelCommunityBot

Description

@FlixelCommunityBot

Issue #189 by: ivangonekrazy

Change to flx.py to make it more cross-platform compatible:

  • The script now generates proper file and directory paths
    for Windows, Mac, Linux.

Usability changes:

  • Print usage message if no project name is provided.
  • The project directory is created if it doesn't yet exist.
  • The comment generated in Default.css is now commented out.

Changes to make the script more "Pythonic":

  • String literals for the file templates are now just one string
    instead of a list of strings.
  • Variables in the templates are interpolated into the strings
    rather than concatenated.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions