eucalypt
>= 0.9.0
>= 0.9.0
  • eucalypt
  • Installation
  • CLI
    • Core
      • Init
      • Launch
      • Console
      • Test
      • Version
      • Rake
      • Help (-H)
    • Generate
      • Controller
      • Helper
      • Model
      • Scaffold
    • Destroy
      • Controller
      • Helper
      • Model
      • Scaffold
    • Blog
      • Setup
      • Article
        • List
        • Generate
        • Destroy
        • Edit
          • Urltitle
          • Datetime
    • Migration
      • Blank
      • Types
      • Create
        • Table
      • Add
        • Index
        • Column
      • Drop
        • Table
        • Index
        • Column
      • Rename
        • Table
        • Index
        • Column
      • Change
        • Column
  • Features
    • Controllers
    • Helpers
    • Views
      • Layouts
      • Partials
    • Static data
    • Core application file
    • Configuration
      • Logging
      • Asset pipeline
        • Manifest asset files
      • Initializers
      • Database
    • Manifest accessor
    • Application path helpers
    • Blog environment
      • Articles
    • Rendering static files
    • Maintenance mode
Powered by GitBook
On this page
  • Command
  • Arguments
  • Examples
  1. CLI
  2. Blog
  3. Article

Destroy

Destroys a blog article.

Command

$ eucalypt blog article destroy
# Alias/shortened
$ eucalypt b article destroy
$ eucalypt b article d
$ eucalypt b a destroy
$ eucalypt b a d

Arguments

  • [URLTITLE] - The URL title of the article

    • If argument is empty, then all blog articles will be listed for the user to select one from, and delete.

    • If multiple articles have the same URL title, then all blog articles with that URL title will be listed for the user to select one from, and delete.

Examples

  • $ eucalypt b article destroy

    Lists all blog articles for the user to select one from, and delete.

  • $ eucalypt b article destroy my-first-blog-post

    Deletes a blog article with a URL title of my-first-blog-post.

PreviousGenerateNextEdit

Last updated 6 years ago