Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enter command to create DataObject #1

Open
fspringveldt opened this issue Feb 16, 2018 · 0 comments
Open

Enter command to create DataObject #1

fspringveldt opened this issue Feb 16, 2018 · 0 comments
Labels
enhancement New feature or request

Comments

@fspringveldt
Copy link
Owner

fspringveldt commented Feb 16, 2018

As a developer, I enter a command to create a DataObject, so that DataObject creation is simplified and standardised.

Requirements:

  • Command should be silverstripe create-dataobject
  • Namespace to be determined from composer.json file if available. Either throws an error if unavailable or just adds it for the user.
  • Option --withHasOne to include $has_one array in output class
  • Option --withHasMany to include $has_many array in output class
  • Option --withManyMany to include $many_many in output class
  • Option --withIndexes to include $indexes array in output class
@fspringveldt fspringveldt added the enhancement New feature or request label Feb 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant