yonaskolb / Beak

A command line interface for your Swift scripts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

break list results misaligned with function docs in file

thecb4 opened this issue · comments

beak.swift file

/**
 dummy
*/
public func dummy() throws {}

/**
 Releases the product
*/
public func release(version: String) throws {
    // implementation here
    print("version \(version) released! for platform \(platform)")
}

/**
 Installs the product
*/
public func install() throws {
    // implementation here
    print("installed")
}

/**
 Deletes the product
*/
public func delete() throws {
    // implementation here
    print("deleted")
}
Functions:

  dummy: Releases the product
  release: Installs the product
  install: Deletes the product
  delete: 

would have expected:

Functions:

  dummy: dummy
  release: Releases the product
  install: Installs the product
  delete: Deletes the product

same results regardless of using /** */ or ///

I wonder if this is related to #21
I haven't had a chance to release this yet.
Are you able to try this out from master? If you have Mint installed you can do

mint run yonaskolb/beak@master beak list

yep - exactly #21 . Just tried

mint run yonaskolb/beak@master beak list

It works

Ok cool. I'll see if I can get a new release out later today 👍

Released in 0.3.5