# Using the Designers Command Line Options

DevFeed: [Using the Designers Command Line Options](<https://devfeed.tech/articles/using-the-designers-command-line-options-19653.md>)

Original publisher: [Read original article](<https://www.codenameone.com/blog/using-designer-command-line-options/>)

Author: Shai Almog

Published: 2016-10-26T00:00:00Z

Content type: tutorial

Language: en

Sources: [CodeName One](<https://devfeed.tech/sources/codename-one.md>)

Topics: [Command-line interface](<https://devfeed.tech/topics/cli.md>), [GUI](<https://devfeed.tech/topics/gui.md>), [XML](<https://devfeed.tech/topics/xml.md>), [Code](<https://devfeed.tech/topics/code.md>)

Tags: [code](<https://devfeed.tech/tags/code.md>), [command-line](<https://devfeed.tech/tags/command-line.md>), [files](<https://devfeed.tech/tags/files.md>), [gui](<https://devfeed.tech/tags/gui.md>), [project](<https://devfeed.tech/tags/project.md>), [tool](<https://devfeed.tech/tags/tool.md>), [ui](<https://devfeed.tech/tags/ui.md>), [xml](<https://devfeed.tech/tags/xml.md>)

## AI overview

This tutorial explains how to automate Codename One's designer tool from the command line. It covers XML Team Mode, regenerating binary resource files from XML, checking the designer version, and importing images into resources.

## Source excerpt

Codename One's resource files contain a lot of details but it's sometimes hard to add elements into the resource file automatically. Recently I wanted to add a better way to add images directly in the new GUI builder. I considered several options and eventually decided to operate the designer tool automatically to do the "heavy lifting". I'm not the first person to try this though, some Codename One users automate tasks by generating the theme and UI XML's to automatically scaffold an app.