def add_editor_action():
    """
    adds an editor action to the 'wrench' menu in the editor which
    launches launch_stash.py
    """
    mv = cfg_view  # [global] the main view
    mv.ai.start()
    try:
        lsp = "/launch_stash.py"  # TODO: auto-detect
        paa.add_action(
            lsp,
            "monitor",
            "000000",
            "StaSh",
        )
        paa.save_defaults()
    finally:
        mv.ai.stop()

    adds an editor action to the 'wrench' menu in the editor which
    launches launch_stash.py
    
bin/easy_config.py