Skip to content

TchikTchakX/looks

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Looks CLI

Usage

Run looks --help to get a list of all commands or looks <command> --help for help with a specific command

Config

Looks supports configuration via a config.json in the directory it is being called from or from the root directory of a project when using the API.

The configuration schema is as follow (WIP)

{
  "input": {
    "local": {
      "filename": "%s-%s.png",
      "pathname": "pieces"
    }
  },
  "output": {
    "local": {
      "directory": "output"
    },
    "image-count": 1
  },
  "settings": {
    "max-workers": 3,
    "piece-order": [
      "background",
      "color"
    ],
    "rarity": {
      "order": [
        "common"
      ],
      "chances": {
        "common": 1
      }
    }
  },
  "attributes": {
    "background": {
      "pieces": {
        "dark": {
          "rarity": "common"
        },
        "green": {
          "rarity": "common"
        }
      }
    },
    "color": {
      "pieces": {
        "golden": {
          "rarity": "common"
        },
        "blue": {
          "rarity": "common"
        }
      }
    }
  }
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 97.8%
  • Makefile 2.2%