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

Add artisan make:page command #11

Closed
Gummibeer opened this issue Oct 4, 2019 · 0 comments · Fixed by #23
Closed

Add artisan make:page command #11

Gummibeer opened this issue Oct 4, 2019 · 0 comments · Fixed by #23

Comments

@Gummibeer
Copy link
Member

Gummibeer commented Oct 4, 2019

blocked by spatie/sheets#44

The package should provide a make:page command to simplify the process to create a new page.

The command should create the markdown file including YAML frontmatter head and an optional page data class.

  • The make command should only work if the default filesystem repository is used in the sheet collection
  • It should use the filesystem of the sheet repository
  • It should add the page data class to the YAML frontmatter
  • The default namespace for the page data class is App\Pages
  • It should accept sheet collection and path as arguments
  • The path should be possible with(out) extension
  • It should use stub files to generate the files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging a pull request may close this issue.

1 participant