trondhindenes / AnsibleDscModuleGenerator

Scripts for generating Ansible modules from PowerShell DSC resources
MIT License
31 stars 2 forks source link

The name of file is different than the main function in it #10

Open it-praktyk opened 8 years ago

it-praktyk commented 8 years ago

The file name: AnsibleWinModuleGen.ps1 The function name: Invoke-AnsibleWinModuleGen

I think that a good practice is

  1. save one function per file (a module need to be psd1 based for that)
  2. the file name equal to the main function name

What do you think about the name: ConvertTo-AnsibleModule for the main function ?

trondhindenes commented 7 years ago

Agreed. I'll make this into a proper module with a module manifest.