Specs creator

I want to have a tool to generate a spec for a given file

Interface:

spec_creator $(pwd)

Todo:

  • Reverse file path to find 'specs' folder
  • While reversing the path, build a stack with folders. It will be the spec path
  • Extract the file name as file path[-1]
  • Use regular expressions (AST?) to get class name

After:

  • Add thor
  • Add AST
  • Add vim integration with %:p