Skip to content

ivy00johns/MFTF-Tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MFTF-Tools

Description

  1. Welcome to the Prototype version of my personal and custom MFTF CLI Tools.
  2. PLEASE NOTE:
    • This is my 1st Python project so I apologize in advance for any horrendous code that you may find.
    • This is a WIP with a lot of improvements planend.

Dependencies


Setup

  1. Clone the "MFTF-CLI-Utilities" repo:
    git clone https://github.com/ivy00johns/MFTF-Tools.git
    

Running Tools

  1. CD to a Magento repo:
    cd [MAGENTO_REPO]
    
  2. Run the MFTF-Tools:
    python3 [MFTF_CLI_UTILITIES_DIRECTORY]/mftf-tools.py
    

Examples

Question #1 Question #2 Question #3 Question #4 Question #5


Known Issues

  1. The Search functions for all "Everything" items are not complete at this time.

TODO Items

  1. Add Progress bars.
  2. Add support for CLI flags.
  3. Add "element" search functions.
  4. Add Unit Tests.
  5. Add Progress Bars.
  6. Add "Display" specific node.
  7. Add "Open in Editor":
    • Nano, eMac, Sublime, PHPStorm, VS Code, etc...
  8. Add addtional message wrappers (i.e. "Start Of"/"End Of"/"Counts").
  9. Add option for displaying XML file pathes.
  10. Try to make compatible with python 2.
  11. Disable "Everything" only in areas where it's not availabe.
  12. Add "File Path" search functions:
    • Find file pathes
    • Display:Absolute/Relative Pathes
  13. Add "verbose" flag.
  14. List entity Attributes.
  15. Search for Custom Attributes:
    • Node Name (<test/>)
    • Child-Node Name (<click/>)
    • Attr Name (name=)
  16. Add "print" functions for, by name:
    • Full XML Page - print
    • Full XML Node - print
    • Full File Path - print
    • Relative File Path - print
  17. Add "exit" step to all Script steps.
  18. Add Search for "Selector" => Used in "Action Groups".
  19. Add proper list "Results" feature.
  20. Counts of Nodes per Module.
  21. Display the # of modules.
  22. Add list "Suites" function.

COMPLETED - Known Issues

  1. The Search functionality is case-sensitive currently. (FIXED)
  2. The Search functions for all "Metadata" items are not complete at this time. (FIXED)

COMPLETED - TODO Items

  1. Add counters to the "List Duplicate" functions. (ADDED)
  2. Add "keys" to the Question options. (ADDED)
  3. Rename the Utils to make them less redundent. (DONE)
  4. Add #!/usr/bin/env python3 to scripts. (ADDED)

About

Prototype MFTF CLI tools

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages